creating a dark theme for flutter app code example
Example: flutter dark theme
MaterialApp(
darkTheme: ThemeData(
brightness: Brightness.dark,
),
MaterialApp(
darkTheme: ThemeData(
brightness: Brightness.dark,
),