更新顶部系统状态栏颜色
This commit is contained in:
@@ -16,6 +16,7 @@ import 'package:vbvs_app/controller/repair/repair_controller.dart';
|
||||
import 'package:vbvs_app/controller/theme_controller/ThemeController.dart';
|
||||
import 'package:vbvs_app/model/api_response.dart';
|
||||
import 'package:vbvs_app/pages/repair/component/RepairModelWidget.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
class ApplyRepairPage extends StatefulWidget {
|
||||
const ApplyRepairPage({super.key});
|
||||
@@ -103,6 +104,11 @@ class _ApplyRepairPageState extends State<ApplyRepairPage> {
|
||||
child: Scaffold(
|
||||
backgroundColor: Colors.transparent,
|
||||
appBar: AppBar(
|
||||
systemOverlayStyle: SystemUiOverlayStyle(
|
||||
statusBarColor: Colors.transparent, // 状态栏背景色
|
||||
statusBarIconBrightness: Brightness.light, // 图标颜色(Android)
|
||||
statusBarBrightness: Brightness.light, // 图标颜色(iOS)
|
||||
),
|
||||
backgroundColor: themeController.currentColor.sc5,
|
||||
automaticallyImplyLeading: false,
|
||||
iconTheme: IconThemeData(
|
||||
|
||||
Reference in New Issue
Block a user