Page
A brick to create a page structure for your project, depending of the type you want.
How to use š
mason make page_brick
Variables āØ
Variable | Description | Default | Type |
---|---|---|---|
pagename | The name of the page | lib | string |
iscubit | Boolean variable to indicate if the page will be type cubit or not | lib | bool |
isbloc | Boolean variable to indicate if the page will be type bloc or not | lib | bool |
istriple | Boolean variable to indicate if the page will be type triple or not | lib | bool |
ismobx | Boolean variable to indicate if the page will be type mobx or not | lib | bool |
Outputs for page type bloc š¦
--project
| āāā lib
ā ā āāā pagename
| | | āāā pagename_controller.dart
| | | āāā pagename_page.dart
ā āāā
āāā ...
Outputs for page type cubit š¦
--project
| āāā lib
ā ā āāā pagename
| | | āāā pagename_cubit.dart
| | | āāā pagename_page.dart
ā āāā
āāā ...
Outputs for page type mobx š¦
--project
| āāā lib
ā ā āāā pagename
| | | āāā pagename_page.dart
| | | āāā pagename_store.dart
ā āāā
āāā ...
Outputs for page type triple š¦
--project
| āāā lib
ā ā āāā pagename
| | | āāā pagename_page.dart
| | | āāā pagename_store.dart
ā āāā
āāā ...