Created
October 18, 2023 16:50
Revisions
-
johnpryan created this gist
Oct 18, 2023 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ bool isVertical = false; Widget build() { return const Column( direction: isVertical ? 'vertical' : 'horizontal', children: [ Widget(), Widget(), ], ); } class Widget { const Widget(); } class Column extends Widget { final List<Widget> children; final String? direction; const Column({required this.children, this.direction = 'vertical'}); } This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ # lively-performance-3668 Created with <3 with [dartpad.dev](https://dartpad.dev).