This commit is contained in:
ekibun
2020-08-08 18:00:21 +08:00
commit 17d2876e36
64 changed files with 5377 additions and 0 deletions

39
example/lib/main.dart Normal file
View File

@@ -0,0 +1,39 @@
/*
* @Description:
* @Author: ekibun
* @Date: 2020-08-08 08:16:51
* @LastEditors: ekibun
* @LastEditTime: 2020-08-08 17:50:30
*/
import 'package:flutter/material.dart';
import 'package:flutter_qjs_example/test.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({ Key key }) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'flutter_qjs',
debugShowCheckedModeBanner: false,
theme: ThemeData(
appBarTheme: AppBarTheme(brightness: Brightness.dark, elevation: 0),
primaryColor: Color(0xfff09199),
accentColor: Color(0xffec818a),
backgroundColor: Colors.grey[300],
primaryColorBrightness: Brightness.dark,
),
routes: {
'home': (BuildContext context) => TestPage(),
},
initialRoute: 'home',
);
}
}