Last updated:
0 purchases
fair
Flutter Fair #
Fair is a lightweight package for Flutter, which can be used to update widget dynamically. This package is still at an early stage.
We create Fair so we can dispatch UI changes to users as bundle(s), the way similar to React Native. With Flutter Fair integrated, you can publish your UI pages without waiting for the next release date of your App. Fair provides standard widget, it can be used as a new dynamic page or as part of existing Flutter page.
Quick Start #
Use Flutter Fair require few steps. Add dependency inside pubspec.yaml.
dependencies:
fair: ^4.0.0
copied to clipboard
Wrap your app with FairApp Widget.
void main() {
WidgetsFlutterBinding.ensureInitialized();
FairApp.runApplication(
FairApp(
child: MaterialApp(home: App())
)
);
}
copied to clipboard
Import a dynamic widget as FairWidget
FairWidget(
name: 'hello_world',
path: 'assets/bundle/lib_hello_world.json',
)
copied to clipboard
Documentation #
For more details, please refer to https://fair.58.com
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.