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();
}
10
likes
130
pub points
43%
popularity

Publisher

unverified uploader

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