更新顶部系统状态栏颜色
This commit is contained in:
@@ -94,6 +94,11 @@ class _MessagePageState extends State<MessagePage> {
|
||||
),
|
||||
child: Scaffold(
|
||||
appBar: AppBar(
|
||||
systemOverlayStyle: SystemUiOverlayStyle(
|
||||
statusBarColor: Colors.transparent, // 状态栏背景色
|
||||
statusBarIconBrightness: Brightness.light, // 图标颜色(Android)
|
||||
statusBarBrightness: Brightness.light, // 图标颜色(iOS)
|
||||
),
|
||||
backgroundColor: Colors.transparent,
|
||||
automaticallyImplyLeading: false,
|
||||
iconTheme: IconThemeData(color: themeController.currentColor.sc3),
|
||||
@@ -386,7 +391,6 @@ class _MessagePageState extends State<MessagePage> {
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Widget _buildMessageListView(List dataList, String type) {
|
||||
return NotificationListener<ScrollNotification>(
|
||||
onNotification: (scrollInfo) {
|
||||
|
||||
Reference in New Issue
Block a user