import 'package:flutter/material.dart'; import 'package:shuqi/public.dart'; import 'package:shuqi/index_page.dart'; final RouteObserver routeObserver = RouteObserver(); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: '书旗小说', navigatorObservers: [routeObserver], debugShowCheckedModeBanner: false, theme: ThemeData( primaryColor: Colors.white, dividerColor: Color(0xffeeeeee), scaffoldBackgroundColor: SQColor.paper, textTheme: TextTheme(bodyLarge: TextStyle(color: SQColor.darkGray)), ), home: IndexPage(), ); } }