flutter_declarative_syntax 0.0.1 flutter_declarative_syntax: ^0.0.1 copied to clipboard
Flutter Declarative Syntax is a plugin designed to enhance the development experience by providing a declarative syntax for common Flutter widget modifications. This plugin introduces a set of extensi [...]
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);