Pub.dev License

A library for Flutter developers.


fappconfiguration's a package that help you configure your application for dynamic content, example white label, flavors, server side rendering and routing.

Application configuration allow you to provide dynamic routing, dynamic theming, dynamic localization, dynamic widget and more.

1- You can specify theme for light and dark mode

Light and dark theme

2- You can specify different languages supported by the app, see Application configuration.

3- You can change specific widget dynamically on the fly, see Application configuration and also Dynamic Widget Provider.

Look at the button on the right end of the screen, even if the screen code and behavior did not change but the widget did.

Dynamic Widget Switching

4- You can override or provide new routes for every Application configuration

For example we want to provide different about page for both yellow white label and green white label but without change the home page code.

Route Override

5- You can also specify DI dependencies for an Application configuration.

This is possible by leveraging the Provider package and providing your dependency using the dependencies field of your application configuration.

6- You can easily update the application configuration on the fly using FAppConfigurationApplication update method.

There's more that you can do, please see the example project.

The library currently provide two out of the box App widget that support application configuration:

For Material design DefaultMaterialApplication.

For Cupertino design DefaultCupertinoApplication.

If you want to create your own, just extend the FAppConfigurationApplication.

For any feature request or bug please create a github issue