网络文章-v1
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
import 'counter/counter_page.dart';
|
||||
import 'guess/guess_page.dart';
|
||||
@@ -23,6 +24,17 @@ class MyApp extends StatelessWidget {
|
||||
debugShowCheckedModeBanner: false,
|
||||
theme: ThemeData(
|
||||
primarySwatch: Colors.blue,
|
||||
appBarTheme: const AppBarTheme(
|
||||
elevation: 0,
|
||||
centerTitle: true,
|
||||
systemOverlayStyle: SystemUiOverlayStyle(
|
||||
statusBarIconBrightness: Brightness.dark,
|
||||
statusBarColor: Colors.transparent,
|
||||
),
|
||||
backgroundColor: Colors.white,
|
||||
titleTextStyle: TextStyle(color: Colors.black, fontSize: 16, fontWeight: FontWeight.bold),
|
||||
iconTheme: IconThemeData(color: Colors.black),
|
||||
)
|
||||
),
|
||||
home: const AppNavigation(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user