swiss_army_component 0.4.0
swiss_army_component: ^0.4.0 copied to clipboard
Swiss Army Component: a reusable Flutter component library with widgets, utilities, and theme support. Includes a CLI to help install and use the package in existing apps.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate swiss_army_componentUse it
The package has the following executables:
$ sac
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add swiss_army_componentThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
swiss_army_component: ^0.4.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:swiss_army_component/swiss_army_component.dart';