2022-01-26 00:25:07 +01:00
|
|
|
import 'package:tangocard_reader/router.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
2022-02-03 00:05:08 +01:00
|
|
|
void main() => runApp(const MyApp());
|
2022-01-26 00:25:07 +01:00
|
|
|
|
|
|
|
class MyApp extends StatelessWidget {
|
|
|
|
const MyApp({Key? key}) : super(key: key);
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return MaterialApp(
|
|
|
|
title: 'Tangocard Reader',
|
|
|
|
theme: ThemeData(
|
2022-02-03 00:05:08 +01:00
|
|
|
fontFamily: 'Noto Sans CJK',
|
2022-01-26 00:25:07 +01:00
|
|
|
primarySwatch: Colors.blue,
|
|
|
|
),
|
|
|
|
initialRoute: '/',
|
|
|
|
onGenerateRoute: PageRouter.generateRoute,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|