page
A new brick created with the Mason CLI.
Generated by mason š§±
Getting Started š
This is a starting point for a new brick. A few resources to get you started if this is your first brick template:
BrickHub
Sign InA brick to create a new page in the Flutter app.
Repository
github.com/altive/bricksInstall
> mason add page
A new brick created with the Mason CLI.
Generated by mason š§±
This is a starting point for a new brick. A few resources to get you started if this is your first brick template:
Ensure you have the mason_cli installed.
# šÆ Activate from https://pub.dev
dart pub global activate mason_cli
# šŗ Or install from https://brew.sh
brew tap felangel/mason
brew install mason
# Install locally
mason add page
# Install globally
mason add -g page
mason make page
Name | Description | Default(s) | Type |
---|---|---|---|
path | Directory path to page | src/ui/pages | string |
name | Page name | home | string |
riverpod | Riverpod you are using | hooks_riverpod(flutter_riverpod, hooks_riverpod) | enum |
mason: ">=0.1.0-dev.32 <0.1.0"
hooks_riverpod
or flutter_riverpod
.src/ui/pages
from src/ui/pages
.page
to the generated page directory name in the pages directory.AppLocalization
from each file.MIT License
Copyright (c) 2022 Ryunosuke Muramatsu (Altive Inc.)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.