fgen 0.0.1+4 copy "fgen: ^0.0.1+4" to clipboard
fgen: ^0.0.1+4 copied to clipboard

outdated

A command-line application to generate screens, viewmodels and repositories in the Flutter icapps template

Flutter commands #

Generate new classes (screen, viewmodel, repository, service) with a single command

installation #

dart pub global activate fgen

Options #

fgen login -svrw

Will generate:

  • (-s) LoginScreen (+ navigator/navigation code)
  • (-v) LoginViewModel
  • (-r) LoginRepository
  • (-w) LoginService + LoginWebService

All generated files depend when needed on the relevant other generated files. So

  • Screen -> ViewModel
  • ViewModel -> Repository
  • Repository -> Service

See the example folder to check the generated files

3
likes
0
pub points
48%
popularity

Publisher

verified publisherwive.be

A command-line application to generate screens, viewmodels and repositories in the Flutter icapps template

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, path, yaml

More

Packages that depend on fgen