fountain 0.3.0-beta copy "fountain: ^0.3.0-beta" to clipboard
fountain: ^0.3.0-beta copied to clipboard

A new Flutter package project.

example/lib/main.dart

import 'counter_basic/main.dart' as counter_basic;
import 'counter_advanced/main.dart' as counter_advanced;
import 'documents/main.dart' as documents;

void main() {
  final exampleMain = () {
    switch (const String.fromEnvironment('APP')) {
      case 'counter_advanced':
        return counter_advanced.main;
      case 'documents':
        return documents.main;
      default:
        return counter_basic.main;
    }
  }();

  // Default example is counter.
  exampleMain.call();
}
9
likes
130
points
33
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, logging, throttling

More

Packages that depend on fountain