1.0.7 ā€¢ Published 2 years ago

feasy v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

NPM Version NPM Install Size NPM Downloads

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 feasy

Alterntively, 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 routename

stateless (or l , less) Create Stateless screen

feasy screen "hello world" stateless # Create Stateless screen in lib/screens with routename

appbar (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 Bar

bottomnavigationbar (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 Bar

PS: 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/widgets

stateless (or l , less) Create Stateless widget

feasy widget "hello world" stateless # Create Stateless widget in lib/widgets

NOTE:

  • screens is created in lib/screens folder
  • widgets is created in lib/widgets folder
  • Be sure to run feasy in your flutter root directory

License

discord-clone is licensed under MIT license. View license. LICENSE

Support

This app costs me time to make and maintain every time.

I am very šŸ˜€ about every coffee!