environment_widget 1.2.0 copy "environment_widget: ^1.2.0" to clipboard
environment_widget: ^1.2.0 copied to clipboard

Flutter package to set environment.

Environment Widget #

Easily environment implementation

How to use #

Create your files that represents your environments. Than confiure like bellow.

Environment(
    bannerColor: Colors.orange,
    bannerTag: 'Dev',
    baseUrl: 'https://dev.foo.bar',
)
Environment(
    bannerColor: Colors.purple,
    bannerTag: 'Hmg',
    baseUrl: 'https://hmg.foo.bar',
    bannerLocation: BannerLocation.bottomEnd,
)
Environment(
    baseUrl: 'https://foo.bar',
    lightThemeData: ThemeData(),
    darkThemeData: ThemeData(),
)

For more details see example project on Github.

1
likes
140
points
48
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter package to set environment.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on environment_widget