Coder Social home page Coder Social logo

feasy's Introduction

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!]

Buy Me A Coffee

feasy's People

Contributors

kirwako avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.