INNER CODE UNIT · Dart

of

amake/orgro · lib/main.dart:62

  static ExecutionMode of(BuildContext context) =>
      context.dependOnInheritedWidgetOfExactType<ExecutionMode>()!;

  const ExecutionMode({required this.isTest, super.key, required super.child});

  final bool isTest;

  @override
  bool updateShouldNotify(ExecutionMode oldWidget) =>
      isTest != oldWidget.isTest;
}

// Not the "real" splash screen; just something to cover the blank while waiting
// for Preferences to load
class _Splash extends StatelessWidget {
  const _Splash();
  @override
  Widget build(BuildContext context) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…