23 lines
624 B
Dart
23 lines
624 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:routemaster/routemaster.dart';
|
|
|
|
import 'Services/navigation_service.dart';
|
|
import 'Services/router_service.dart';
|
|
|
|
void main() {
|
|
runApp(
|
|
MaterialApp.router(
|
|
routerDelegate: RoutemasterDelegate(
|
|
routesBuilder: (final BuildContext context) => RouterService.routes,
|
|
navigatorKey: NavigationService.navigatorKey,
|
|
),
|
|
routeInformationParser: const RoutemasterParser(),
|
|
|
|
title: 'DragonLedger 🐉📒',
|
|
theme: ThemeData(
|
|
colorScheme: ColorScheme.fromSeed(seedColor: const Color(0xFF4FF5F9)),
|
|
),
|
|
),
|
|
);
|
|
}
|