Files
FlutterTravel/lib/util/const.dart
guruliciousjide@gmail.com edadaf53e1 first commit🛫
2019-07-02 01:26:30 +01:00

59 lines
1.4 KiB
Dart

import 'package:flutter/material.dart';
class Constants{
static String appName = "Foody Bite";
//Colors for theme
static Color lightPrimary = Color(0xfffcfcff);
static Color darkPrimary = Colors.black;
static Color lightAccent = Colors.blueGrey[900];
static Color darkAccent = Colors.white;
static Color lightBG = Color(0xfffcfcff);
static Color darkBG = Colors.black;
static Color badgeColor = Colors.red;
static ThemeData lightTheme = ThemeData(
backgroundColor: lightBG,
primaryColor: lightPrimary,
accentColor: lightAccent,
cursorColor: lightAccent,
scaffoldBackgroundColor: lightBG,
appBarTheme: AppBarTheme(
elevation: 0,
textTheme: TextTheme(
title: TextStyle(
color: darkBG,
fontSize: 18.0,
fontWeight: FontWeight.w800,
),
),
// iconTheme: IconThemeData(
// color: lightAccent,
// ),
),
);
static ThemeData darkTheme = ThemeData(
brightness: Brightness.dark,
backgroundColor: darkBG,
primaryColor: darkPrimary,
accentColor: darkAccent,
scaffoldBackgroundColor: darkBG,
cursorColor: darkAccent,
appBarTheme: AppBarTheme(
elevation: 0,
textTheme: TextTheme(
title: TextStyle(
color: lightBG,
fontSize: 18.0,
fontWeight: FontWeight.w800,
),
),
// iconTheme: IconThemeData(
// color: darkAccent,
// ),
),
);
}