Skip to content

This bash script will build a default app flutter structure

Notifications You must be signed in to change notification settings

jehadnasser/flutter-app-ssw-structure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Flutter App Structuring

A bash script to re-structuring Flutter app directories from the default structure to screens/services/widgets(SSW) structure.

How to use it?

  1. Clone/ download flutterstruct bash file from this repository.

  2. Using terminal, give it execution permission: chmod +x flutterstruct

  3. Add it to $PATH var:

  • Create a bin directory in the home: mkdir ~/bin
  • Copy bin file to bin directory: cp ./flutterstruct ~/bin
  • Open this file: gedit ~/.profile
  • Add this line at the end of the file: export PATH="$PATH:/home/bin"
  • Save the file and re-login to the system.
  1. Open terminal in the root dir of your flutter app, e.g you can see lib dir as ./lib

  2. Run the script: flutterstruct

About

This bash script will build a default app flutter structure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages