flutter_declarative_syntax 0.0.3 copy "flutter_declarative_syntax: ^0.0.3" to clipboard
flutter_declarative_syntax: ^0.0.3 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 [...]

example/README.md

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);
1
likes
140
pub points
0%
popularity

Publisher

unverified uploader

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 extension methods on existing Flutter widgets, allowing developers to apply common modifications such as layout adjustments, visual effects, and decorations in a more readable and concise manner. It aims to make Flutter code more expressive and easier to maintain.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_declarative_syntax