File tree Expand file tree Collapse file tree 4 files changed +29
-11
lines changed
Expand file tree Collapse file tree 4 files changed +29
-11
lines changed Original file line number Diff line number Diff line change @@ -1070,17 +1070,27 @@ mixin ScrollableMixin on BaseNode {
10701070mixin PortalMixin on BaseNode {
10711071 /// The id of the node that is linked to this node. IE: the node that this
10721072 /// node will render inside of it.
1073- late String ? portalID ;
1073+ late String ? canvasID ;
10741074
1075- /// Whether to render the [portalID] node inside this node.
1075+ /// The id of the page that the linked node [canvasID] is in.
1076+ late String ? pageID;
1077+
1078+ /// The id of the published layout that the linked node [canvasID] is in.
1079+ late String ? layoutID;
1080+
1081+ /// Whether to render the [canvasID] node inside this node.
10761082 late bool showPortal;
10771083
10781084 /// Sets the properties of this mixin.
10791085 void setPortalMixin ({
1080- required String ? portalID,
1086+ required String ? canvasID,
1087+ required String ? pageID,
1088+ required String ? layoutID,
10811089 required bool showPortal,
10821090 }) {
1083- this .portalID = portalID;
1091+ this .canvasID = canvasID;
1092+ this .pageID = pageID;
1093+ this .layoutID = layoutID;
10841094 this .showPortal = showPortal;
10851095 }
10861096}
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ enum FABLocation {
148148}
149149
150150/// Location values for a regular sized FAB.
151- const FABLocationsNormal = [
151+ const fabLocationsNormal = [
152152 FABLocation .startTop,
153153 FABLocation .miniStartTop,
154154 FABLocation .centerTop,
@@ -158,7 +158,7 @@ const FABLocationsNormal = [
158158];
159159
160160/// Location values for a floating FAB.
161- const FABLocationsFloat = [
161+ const fabLocationsFloat = [
162162 FABLocation .startFloat,
163163 FABLocation .miniStartFloat,
164164 FABLocation .centerFloat,
@@ -168,7 +168,7 @@ const FABLocationsFloat = [
168168];
169169
170170/// Location values for a docked FAB.
171- const FABLocationsDocked = [
171+ const fabLocationsDocked = [
172172 FABLocation .startDocked,
173173 FABLocation .miniStartDocked,
174174 FABLocation .centerDocked,
Original file line number Diff line number Diff line change @@ -71,7 +71,9 @@ class FrameNode extends DefaultShapeNode
7171 bool useFlutterListView = false ,
7272
7373 // [PortalMixin] properties.
74- String ? portalID,
74+ String ? canvasID,
75+ String ? pageID,
76+ String ? layoutID,
7577 bool showPortal = false ,
7678 }) {
7779 setCornerMixin (
@@ -93,7 +95,9 @@ class FrameNode extends DefaultShapeNode
9395 );
9496
9597 setPortalMixin (
96- portalID: portalID,
98+ canvasID: canvasID,
99+ pageID: pageID,
100+ layoutID: layoutID,
97101 showPortal: showPortal,
98102 );
99103 }
You can’t perform that action at this time.
0 commit comments