feasy v1.0.7
Feasy
Feasy is a humble CLI, whose purpose is to assist Flutter developers in creating widgets and screens without the boilerplate. It can easily generate templates for Flutter Stateful and Stateless widgets and screens
Features
š Extremely easy to pick up and use in Flutter projects.
š Flexible - feasy create widget in lib/wigdets folder and screens in lib/screens folder.
āļø Configurable - feasy create stateful and stateless widget and screens with just sample options.
Installation
npm install -g feasy
# Or:
yarn global add feasyAlterntively, use:
npx feasy [...]
# e.g.
npx feasy screen "hello world"using npx, the latest version is always used.
Feasy consists of two commands: screen (or s, --screen) and widget (or w, --widget):
Screen
feasy screen "name" [options]This command generates a new Flutter screen, based on the name and options passed to it
feasy s is an alias of feasy --screen is an alias of feasy screen.
Screen Options:
stateful (or f , full) Create Stateful screen
feasy screen "hello world" stateful # Create Stateful screen in lib/screens with routenamestateless (or l , less) Create Stateless screen
feasy screen "hello world" stateless # Create Stateless screen in lib/screens with routenameappbar (or a , --appbar) Add App Bar to your screen
feasy screen "hello world" stateless appbar # Create Stateless screen in lib/screens with routename and App Barbottomnavigationbar (or b , --bottomnavigationbar) Add Bottom Navigation Bar to your screen
feasy screen "hello world" stateless bottomnavigationbar # Create Stateless screen in lib/screens with routename and Bottom Navigation BarPS: you can combine appbar and bottomnavigationbar options
Widget
feasy widget "name" [options]This command generates a new Flutter widget, based on the name and options passed to it
feasy w is an alias of feasy --widget is an alias of feasy widget.
Widget Options:
stateful (or f , full) Create Stateful widget
feasy widget "hello world" stateful # Create Stateful widget in lib/widgetsstateless (or l , less) Create Stateless widget
feasy widget "hello world" stateless # Create Stateless widget in lib/widgetsNOTE:
- screens is created in
lib/screensfolder - widgets is created in
lib/widgetsfolder - Be sure to run feasy in your
flutter root directory
License
discord-clone is licensed under MIT license. View license. LICENSE