Widget
A brick to create a widget structure for your project, depending of the type you want.
How to use š
mason make widget_brick
Variables āØ
Variable | Description | Default | Type |
---|---|---|---|
widgetname | The name of the widget | lib | string |
iscubit | Boolean variable to indicate if the widget will be type cubit or not | lib | bool |
isbloc | Boolean variable to indicate if the widget will be type bloc or not | lib | bool |
istriple | Boolean variable to indicate if the widget will be type triple or not | lib | bool |
ismobx | Boolean variable to indicate if the widget will be type mobx or not | lib | bool |
Outputs for page type bloc š¦
--project
| āāā lib
ā ā āāā widgetname
| | | āāā widgetname_controller.dart
| | | āāā widgetname_page.dart
ā āāā
āāā ...
Outputs for page type cubit š¦
--project
| āāā lib
ā ā āāā widgetname
| | | āāā widgetname_cubit.dart
| | | āāā widgetname_page.dart
ā āāā
āāā ...
Outputs for page type mobx š¦
--project
| āāā lib
ā ā āāā widgetname
| | | āāā widgetname_page.dart
| | | āāā widgetname_store.dart
ā āāā
āāā ...
Outputs for page type triple š¦
--project
| āāā lib
ā ā āāā widgetname
| | | āāā widgetname_page.dart
| | | āāā widgetname_store.dart
ā āāā
āāā ...