Skip to content
forked from wuba/Fair

A Flutter package used to update widget tree dynamically. Flutter Fair是为Flutter设计的,UI&模板动态化框架

License

BSD-3-Clause, BSD-3-Clause licenses found

Licenses found

BSD-3-Clause
LICENSE
BSD-3-Clause
LICENSE-FLUTTER
Notifications You must be signed in to change notification settings

a303268287/fair

 
 

social preview

pub github doc license build Gitter

简体中文|English


Fair is a lightweight package for Flutter, which can be used to update widget tree and state dynamically. This package is still at an early stage.

We create Fair so we can dispatch any pages changes to users as bundle(s), the way similar to React Native. With Flutter Fair integrated, you can publish your pages without waiting for the next release date of your App. Fair provides standard widget and some logic plugins, 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: ^2.0.0

Wrap your app with FairApp Widget.

void main() {
  runApp(
    FairApp(
      child: MaterialApp(home: App())
    ),
  );
}

Import a dynamic widget as FairWidget

FairWidget(
  type: 'hello_world',
  path: 'assets/bundle/hello_world.json',
)

Documentation

For more details, please refer to https://fair.58.com

Support

The simplest way to show us your support is by giving the project a star.

About

A Flutter package used to update widget tree dynamically. Flutter Fair是为Flutter设计的,UI&模板动态化框架

Resources

License

BSD-3-Clause, BSD-3-Clause licenses found

Licenses found

BSD-3-Clause
LICENSE
BSD-3-Clause
LICENSE-FLUTTER

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 85.7%
  • Java 7.9%
  • JavaScript 5.5%
  • Objective-C 0.7%
  • Shell 0.1%
  • C++ 0.1%