restage_codegen 1.2.0
restage_codegen: ^1.2.0 copied to clipboard
Write your UI as real Flutter widgets — your own design system, not a dialect — and restage_codegen compiles it into the blobs the Restage SDK ships over the air.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add restage_codegenWith Flutter:
$ flutter 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.2.0Alternatively, 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:restage_codegen/restage_codegen.dart';