flutter: Deal in StatefulWidget instead of PositionedWidget

So we can wrap PositionedWidget in something else
This commit is contained in:
Sergio Martins
2022-08-09 19:07:18 +01:00
parent 2afe86e63b
commit 192533647d
2 changed files with 4 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ import 'Group_flutter.dart';
import 'View_flutter.dart';
class View_mixin {
late final PositionedWidget flutterWidget;
late final StatefulWidget flutterWidget;
late final GlobalObjectKey<PositionedWidgetState> widgetKey;
late final KDDockWidgetBindings.View_flutter kddwView;
@@ -33,7 +33,7 @@ class View_mixin {
int m_maxHeight = 16777215;
int m_maxWidth = 16777215;
var childWidgets = <PositionedWidget>[];
var childWidgets = <StatefulWidget>[];
setSize_2(int width, int height) {
// print(