fda
This commit is contained in:
parent
b8e02c16a8
commit
387323b9e4
@ -1,3 +1,5 @@
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
@ -54,6 +56,21 @@ class _RootWidgetState extends State<RootWidget> {
|
||||
debugShowCheckedModeBanner: false,
|
||||
theme: ThemeData.light(useMaterial3: true).copyWith(
|
||||
primaryColor: Colors.blue,
|
||||
bottomNavigationBarTheme: const BottomNavigationBarThemeData(
|
||||
backgroundColor: Colors.black,
|
||||
unselectedItemColor:Colors.grey,
|
||||
selectedItemColor: Colors.white,
|
||||
showSelectedLabels: false,
|
||||
showUnselectedLabels: false,
|
||||
),
|
||||
appBarTheme: const AppBarTheme(
|
||||
backgroundColor: Colors.black,
|
||||
titleTextStyle: TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 18,
|
||||
),
|
||||
foregroundColor:Colors.white
|
||||
)
|
||||
),
|
||||
themeMode: ThemeMode.light,
|
||||
getPages: AppRoutes.routes,
|
||||
|
||||
@ -13,6 +13,7 @@ class DownloadPageView extends GetView<DownloadPageController> {
|
||||
final Widget bodyView = getBodyWidget();
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: true,
|
||||
title: const Text("下载"),
|
||||
),
|
||||
body: bodyView,
|
||||
|
||||
@ -20,6 +20,9 @@ class ImgCategoryPageView extends GetView<ImgCategoryPageController> {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Obx(() => Text(controller.stitle.value)) ,
|
||||
centerTitle: true,
|
||||
// backgroundColor: Colors.transparent,
|
||||
// foregroundColor: Colors.white,
|
||||
),
|
||||
body: bodyView ,
|
||||
);
|
||||
|
||||
@ -9,6 +9,7 @@ class MyPageView extends GetView {
|
||||
const title = '我的';
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: true,
|
||||
title: const Text(title),
|
||||
),
|
||||
body: ListView(
|
||||
|
||||
@ -18,8 +18,7 @@ class TabbarPageView extends GetView <TabbarPageController>{
|
||||
return Scaffold(
|
||||
bottomNavigationBar:Obx(() => BottomNavigationBar(
|
||||
items: listBarItems,
|
||||
unselectedItemColor:Colors.grey,
|
||||
selectedItemColor: Colors.orange,
|
||||
iconSize: 30,
|
||||
type: BottomNavigationBarType.fixed,
|
||||
selectedFontSize: 14,
|
||||
unselectedFontSize: 14,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user