monarch 2.4.0-pre.2
monarch: ^2.4.0-pre.2 copied to clipboard
Code generator for Monarch. Monarch is a tool for building Flutter widgets in isolation. It makes it easy to build, test and debug complex UIs.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add monarchThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
monarch: ^2.4.0-pre.2Alternatively, 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:monarch/monarch.dart';