📜  颤动状态栏颜色 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:02.644000             🧑  作者: Mango

代码示例3
import 'package:flutter/services.dart';
 Widget build(BuildContext context) {
    SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
       statusBarColor: Color(0xFF2E7D32),
    ));
 
    return MaterialApp()