flutter_flavor 3.0.2 copy "flutter_flavor: ^3.0.2" to clipboard
flutter_flavor: ^3.0.2 copied to clipboard

outdated

We can create different flavors, and thus have different instances of our apps before publishing it on the App Store and Google Play.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_flavor/flutter_flavor.dart';

import 'my_app.dart';

void main() {
  FlavorConfig(
    color: Colors.red,
    location: BannerLocation.topStart,
    variables: {
      "counter": 0,
      "baseUrl": "https://www.example1.com",
    },
  );
  return runApp(MyApp());
}
450
likes
0
points
33.7k
downloads

Publisher

unverified uploader

Weekly Downloads

We can create different flavors, and thus have different instances of our apps before publishing it on the App Store and Google Play.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, xml, yaml

More

Packages that depend on flutter_flavor