You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
960 B
33 lines
960 B
import 'package:flutter/material.dart';
|
|
|
|
class AppTheme {
|
|
static final ThemeData lightTheme = ThemeData(
|
|
brightness: Brightness.light,
|
|
primaryColor: Colors.blue,
|
|
scaffoldBackgroundColor: Colors.white,
|
|
appBarTheme: const AppBarTheme(
|
|
backgroundColor: Colors.blue,
|
|
foregroundColor: Colors.white,
|
|
elevation: 0,
|
|
),
|
|
bottomNavigationBarTheme: const BottomNavigationBarThemeData(
|
|
selectedItemColor: Colors.blue,
|
|
unselectedItemColor: Colors.grey,
|
|
),
|
|
);
|
|
|
|
static final ThemeData darkTheme = ThemeData(
|
|
brightness: Brightness.dark,
|
|
primaryColor: Colors.blue,
|
|
scaffoldBackgroundColor: Colors.grey[900],
|
|
appBarTheme: AppBarTheme(
|
|
backgroundColor: Colors.grey[900],
|
|
foregroundColor: Colors.white,
|
|
elevation: 0,
|
|
),
|
|
bottomNavigationBarTheme: const BottomNavigationBarThemeData(
|
|
selectedItemColor: Colors.blue,
|
|
unselectedItemColor: Colors.grey,
|
|
),
|
|
);
|
|
}
|