features 1.0.0+2

Flutter Android iOS web

A Flutter package to help manage features enabled/disabled for a user

pub package Buy Me A Coffee Donate

features #

A Flutter package to help with scoping features for a project.

Online Demo: https://rodydavis.github.io/features/

Getting Started #

Create a feature:

Feature _feature = Feature('counter');

Enable/Disable a feature:

Feature _feature.enabled = false;
Feature _feature.enabled = true;

Use a feature builder to react to changes:

floatingActionButton: FeatureBuilder(
    feature: _counterFeature,
    hideOnInactive: true,
    builder: (context, enabled, child) => FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: Icon(Icons.add),
),
),

Use a feature provider:


Features(
    items: <Feature>[],
    child: Container(),
)

final _features = Features.of(context);

1
likes
90
pub points
30%
popularity

Publisher

rodydavis.com

A Flutter package to help manage features enabled/disabled for a user

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on features