纠正我的顶部状态栏为黑色

pull/1/head
戴余标 3 years ago
parent c420e24a13
commit ae5a02cedd

@ -17,6 +17,7 @@ import 'package:aku_new_community/widget/others/user_tool.dart';
import 'package:bot_toast/bot_toast.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:get/get.dart';
import 'package:provider/provider.dart';
@ -73,7 +74,9 @@ class _PersonalIndexState extends State<PersonalIndex>
final double _statusHeight = MediaQuery.of(context).padding.top;
final userProvider = Provider.of<UserProvider>(context);
return Scaffold(
return AnnotatedRegion<SystemUiOverlayStyle>(
value: SystemUiOverlayStyle.dark,
child:Scaffold(
body: EasyRefresh(
header: MaterialHeader(),
onRefresh: () async {
@ -399,7 +402,9 @@ class _PersonalIndexState extends State<PersonalIndex>
),
],
)),
)
);
}
_homeTitle(String title, VoidCallback onTap, String suffixTitle) {

Loading…
Cancel
Save