sa_flutter_flavor 0.0.1 copy "sa_flutter_flavor: ^0.0.1" to clipboard
sa_flutter_flavor: ^0.0.1 copied to clipboard

outdated

provides a way of indicating and tracking Dart build flavors.

example/lib/main.dart

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"}),
  )));
}
2
likes
0
pub points
1%
popularity

Publisher

verified publisherspiralarm.uk

provides a way of indicating and tracking Dart build flavors.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on sa_flutter_flavor