flutter_pack 1.1.0
flutter_pack: ^1.1.0 copied to clipboard
A Flutter utility package that provides database helpers, model/repository generators, string/date extensions, and shared preferences management to speed up app development.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate flutter_packUse it
The package has the following executables:
$ generate
$ init
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_packThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_pack: ^1.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_pack/flutter_pack.dart';