Flutter Declarative Syntax Example
toListView
Using the toListView based on List to make the List become a ListView
<Widget>[].toListView();
toColumn
Using the toColumn based on List to make the List become a Column
<Widget>[].toColumn();
toRow
Using the toRow based on List to make the List become a Row
<Widget>[].toRow();
toStack
Using the toStack based on List to make the List become a Stack
<Widget>[].toStack();
Add properties and methods using declarative syntax
Text("Flutter Declarative Synrax")
.withColor(Colors.pink)
.withFontSize(16)
.withFontWeight(FontWeight.w600)
.backgroundColor(Colors.blue);