restage_codegen 1.0.3
restage_codegen: ^1.0.3 copied to clipboard
A build_runner code generator that compiles Flutter-authored UI into Remote Flutter Widget (RFW) blobs and catalogs consumed by the Restage SDK runtime.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add restage_codegenThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
restage_codegen: ^1.0.3Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:restage_codegen/restage_codegen.dart';