scaffolding_home brick
This generates the home/index main and app files for a scaffolding app
How to use š
Command Line
mason init
mason add scaffolding_home
mason make scaffolding_home --package scaffolding_sample --features feature1
Then add your properties! (Optional)
Variables for the Command Line and Config Json āØ
Variable | Description | Default | Type |
---|---|---|---|
package | The name of the package this is generated into | scaffolding_sample | string |
features | The name of the feature(s) to generate home/index for | feature1 | string |
Config
mason make scaffolding_home -c scaffolding_config.json
{
"package": "scaffolding_sample",
"features": "feature1"
}
Outputs š¦
--package scaffolding_sample --features feature1,feature2
lib/
āā main.dart
āā scaffold_app.dart