INNER CODE UNIT · Dart

NarrowApp

slovnicki/beamer · website/lib/app.dart:56

class NarrowApp extends StatelessWidget {
  NarrowApp({
    Key? key,
    required this.isDarkTheme,
    required this.onThemeSwitch,
    required this.child,
  }) : super(key: key);

  final bool isDarkTheme;
  final void Function(bool) onThemeSwitch;
  final Widget child;

  final _scaffoldKey = GlobalKey<ScaffoldState>();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      key: _scaffoldKey,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…