Initial commit
This commit is contained in:
commit
e5c20d673f
73 changed files with 2128 additions and 0 deletions
25
lib/main.dart
Normal file
25
lib/main.dart
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import 'package:ocbo_esign_validator/pages/index_page.dart';
|
||||
|
||||
void main() {
|
||||
runApp(const MyApp());
|
||||
}
|
||||
|
||||
final _router = GoRouter(
|
||||
initialLocation: '/',
|
||||
routes: [GoRoute(name: 'index', path: '/', builder: (context, state) => const IndexPage())],
|
||||
);
|
||||
|
||||
class MyApp extends StatelessWidget {
|
||||
const MyApp({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp.router(
|
||||
debugShowCheckedModeBanner: false,
|
||||
theme: ThemeData(useMaterial3: true),
|
||||
routerConfig: _router,
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue