+ LibraryPage
+ StoryPage
+ logo
+ font
This commit is contained in:
2023-09-13 09:03:52 +02:00
parent f8348a3f96
commit 063b3ed8d3
186 changed files with 17200 additions and 325 deletions

33
FRONT/lib/main.dart Normal file
View File

@@ -0,0 +1,33 @@
import 'package:flutter/material.dart';
import 'package:hive_flutter/hive_flutter.dart';
import 'package:story/screens/homePage.dart';
import 'package:story/screens/storyPage.dart';
void main() async {
//init hive
await Hive.initFlutter() ;
//open box
var box = Hive.openBox('storyBox');
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({ super.key}) ;
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Mon Application',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: Material(child: const HomePage()),
routes: {
'storyPage': (context) => StoryPage(),
},
);
}
}