ametory_framework 0.0.8 copy "ametory_framework: ^0.0.8" to clipboard
ametory_framework: ^0.0.8 copied to clipboard

Ametory Flutter Framework help you build powerfull flutter pattern.

AMETORY FLUTTER FRAMEWORK #

This package help you build powerfull flutter pattern

INSTALLATION #

add flutter dependency:

INSTALL FROM PUB.DEV #

flutter pub add ametory_framework

INSTALL FROM GITLAB #

dependencies:
  flutter:
    sdk: flutter
  // other package
  ametory_framework:
    git:
      url: git@gitlab.com:ametory-open-source/ametory-flutter-framework.git
      ref: main

Create new flutter project #

flutter create  new_project

Init framework #

first of all, you have to init framework to your flutter project

flutter pub run ametory_framework:init

for web compability, please add --web argument

flutter pub run ametory_framework:init --web

Generate Feature #

first of all, you have to init framework to your flutter project

flutter pub run ametory_framework:generate ExampleFeature

Add Provider #

flutter pub run ametory_framework:provider chat_bubble

Add Alias #

  • Edit the ~/.bash_aliases or ~/.bashrc (recommended) file using a text editor:
vi ~/.bash_aliases
# or #
nano ~/.bashrc
# or #
nano ~/.zshrc
  • Append your bash alias For example append:
alias aff_init='flutter pub run ametory_framework:init'
alias aff_gen='flutter pub run ametory_framework:generate'
alias aff_provider='flutter pub run ametory_framework:provider'
  • Save and close the file.
  • Activate alias by typing the following source command:
source ~/.bash_aliases
# or #
source ~/.bashrc
# or #
source ~/.zshrc

Run Flutter #

flutter run -t lib/main_development.dart -d chrome 
4
likes
0
pub points
0%
popularity

Publisher

verified publisherametory.id

Ametory Flutter Framework help you build powerfull flutter pattern.

Homepage
Repository (GitLab)
View/report issues

License

unknown (LICENSE)

Dependencies

ansicolor, flutter, json2yaml, path, recase, yaml

More

Packages that depend on ametory_framework