fyarn 1.1.4
fyarn: ^1.1.4 copied to clipboard
A high-performance, context-aware CLI and Design System engine for Flutter.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate fyarnUse it
The package has the following executables:
$ fyarn
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fyarnWith Flutter:
$ flutter pub add fyarnThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
fyarn: ^1.1.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:fyarn/commands/add_command.dart';
import 'package:fyarn/commands/init_command.dart';
import 'package:fyarn/fyarn_cli.dart';