网络文章-v1

This commit is contained in:
toly
2023-05-17 09:18:42 +08:00
parent f1b902ab58
commit 5c706fb9ae
13 changed files with 286 additions and 51 deletions

View File

@@ -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(),
);