sa_flutter_flavor 0.0.2 sa_flutter_flavor: ^0.0.2 copied to clipboard
provides a way of indicating and tracking Dart build flavors.
import 'package:example/src/app/app.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:sa_flutter_flavor/sa_flutter_flavor.dart';
/// This is the PROD version of the app
void main() {
runApp(ProviderScope(
child: App(
flavor: FlavorConfig(
name: "PROD", isProduction: true, attributes: {'title': "Prod App"}),
)));
}