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

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(
    variables: {
      "counter": 0,
      "baseUrl": "https://www.example1.com",
    },
  );

  runApp(const MyApp());
}
361
likes
140
pub points
97%
popularity

Publisher

unverified uploader

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

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_flavor