elattar_cli 0.0.4
elattar_cli: ^0.0.4 copied to clipboard
Installs Elattar's Flutter design system into your project as source you own: components, foundation tokens, effects and motion, copied in and yours to edit.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate elattar_cliUse it
The package has the following executables:
$ elattar
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add elattar_cliWith Flutter:
$ flutter pub add elattar_cliThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
elattar_cli: ^0.0.4Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:elattar_cli/elattar_cli.dart';