Widget build(BuildContext context) {
return material.MaterialApp(
darkTheme: material.ThemeData(
appBarTheme: material.AppBarTheme(
color: material.Colors.black,
foregroundColor: material.Colors.grey,
platform: material.TargetPlatform.iOS,
theme: material.ThemeData(
appBarTheme: material.AppBarTheme(
color: material.Colors.blue,
foregroundColor: material.Colors.white,
platform: material.TargetPlatform.iOS,
themeMode: MPFlutterDarkmodeManager.isDarkmode()
? material.ThemeMode.dark
: material.ThemeMode.light,