arcane 3.9.5 copy "arcane: ^3.9.5" to clipboard
arcane: ^3.9.5 copied to clipboard

Speeds up Flutter App Stuff

example/lib/main.dart

import 'dart:async';

import 'package:arcane/arcane.dart';
import 'package:example/model/note.dart';
import 'package:example/screen/home.dart';
import 'package:example/screen/note_view.dart';
import 'package:example/screen/notes.dart';

bool v = false;
String? vv;
void main() {
  setupNotes();

  runZonedGuarded(() {
    runApp(ExampleArcaneApp());
  }, (error, stackTrace) {
    print("Error: $error");
    print("Stack: $stackTrace");
  });
}

class ExampleArcaneApp extends StatelessWidget {
  const ExampleArcaneApp({super.key});

  @override
  Widget build(BuildContext context) => ArcaneApp(
        arcaneRoutes: [
          HomeScreen(),
          NotesScreen(),
          NoteScreen(),
        ],
        theme: ArcaneTheme(
            themeMode: ThemeMode.system,
            scheme: ContrastedColorScheme.fromScheme(ColorSchemes.zinc)),
      );
}