flavorizer_config 0.0.2 flavorizer_config: ^0.0.2 copied to clipboard
A new flutter utility to easily create flavors in your flutter application.
Getting started #
With null-safety
dependencies:
flavorizer_config: ^1.0.2
Add the dependency to your project and start using flavorizer_config #
Importing the package #
import 'package:flavorizer_config/flavorizer_config.dart';
Usage #
To use this plugin, add flavorizer_config as a dependency in your pubspec.yaml file.
Example #
Here are an example that show you how to use this plugin.
main.dart #
responsive_view.dart #
responsive_screens widgets #
ScreenTypeLayout #
ScreenTypeLayout is a Flutter widget you can provide a multi screen type to ((required) mobile - (optional) tablet - (optional) desktop) .
ScreenTypeLayout(
mobile: ResponsiveViewMobile(),
tablet: ResponsiveViewTablet(),
desktop: ResponsiveViewDesktop(),
);
Improve #
Help me by reporting bugs, submit new ideas for features or anything else that you want to share.
- Just write an issue on GitHub. ✏️
- And don't forget to hit the like button for this package ✌️
More #
Check out my other useful packages on pub.dev