const constructure
This commit is contained in:
@@ -1,27 +1,27 @@
|
||||
part of 'theme.dart';
|
||||
|
||||
class AppStyle {
|
||||
static TextStyle xs = TextStyle(color: AppColor.black, fontSize: 11);
|
||||
static TextStyle xs = const TextStyle(color: AppColor.black, fontSize: 11);
|
||||
|
||||
static TextStyle sm = TextStyle(color: AppColor.black, fontSize: 12);
|
||||
static TextStyle sm = const TextStyle(color: AppColor.black, fontSize: 12);
|
||||
|
||||
static TextStyle md = TextStyle(color: AppColor.black, fontSize: 14);
|
||||
static TextStyle md = const TextStyle(color: AppColor.black, fontSize: 14);
|
||||
|
||||
static TextStyle lg = TextStyle(color: AppColor.black, fontSize: 16);
|
||||
static TextStyle lg = const TextStyle(color: AppColor.black, fontSize: 16);
|
||||
|
||||
static TextStyle xl = TextStyle(color: AppColor.black, fontSize: 18);
|
||||
static TextStyle xl = const TextStyle(color: AppColor.black, fontSize: 18);
|
||||
|
||||
static TextStyle xxl = TextStyle(color: AppColor.black, fontSize: 20);
|
||||
static TextStyle xxl = const TextStyle(color: AppColor.black, fontSize: 20);
|
||||
|
||||
static TextStyle h6 = TextStyle(color: AppColor.black, fontSize: 22);
|
||||
static TextStyle h6 = const TextStyle(color: AppColor.black, fontSize: 22);
|
||||
|
||||
static TextStyle h5 = TextStyle(color: AppColor.black, fontSize: 24);
|
||||
static TextStyle h5 = const TextStyle(color: AppColor.black, fontSize: 24);
|
||||
|
||||
static TextStyle h4 = TextStyle(color: AppColor.black, fontSize: 26);
|
||||
static TextStyle h4 = const TextStyle(color: AppColor.black, fontSize: 26);
|
||||
|
||||
static TextStyle h3 = TextStyle(color: AppColor.black, fontSize: 28);
|
||||
static TextStyle h3 = const TextStyle(color: AppColor.black, fontSize: 28);
|
||||
|
||||
static TextStyle h2 = TextStyle(color: AppColor.black, fontSize: 30);
|
||||
static TextStyle h2 = const TextStyle(color: AppColor.black, fontSize: 30);
|
||||
|
||||
static TextStyle h1 = TextStyle(color: AppColor.black, fontSize: 32);
|
||||
static TextStyle h1 = const TextStyle(color: AppColor.black, fontSize: 32);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
part of 'theme.dart';
|
||||
|
||||
class AppValue {
|
||||
// TODO: define value
|
||||
}
|
||||
class AppValue {}
|
||||
|
||||
@@ -11,7 +11,7 @@ class ThemeApp {
|
||||
useMaterial3: true,
|
||||
primaryColor: AppColor.primary,
|
||||
scaffoldBackgroundColor: AppColor.white,
|
||||
appBarTheme: AppBarTheme(
|
||||
appBarTheme: const AppBarTheme(
|
||||
color: AppColor.white,
|
||||
elevation: 0,
|
||||
titleTextStyle: TextStyle(
|
||||
@@ -19,7 +19,7 @@ class ThemeApp {
|
||||
fontSize: 16.0,
|
||||
fontWeight: FontWeight.w500,
|
||||
),
|
||||
iconTheme: const IconThemeData(color: AppColor.primary),
|
||||
iconTheme: IconThemeData(color: AppColor.primary),
|
||||
),
|
||||
fontFamily: FontFamily.quicksand,
|
||||
colorScheme: ColorScheme.fromSeed(seedColor: AppColor.primary),
|
||||
@@ -28,19 +28,19 @@ class ThemeApp {
|
||||
hintStyle: const TextStyle(color: AppColor.textSecondary),
|
||||
border: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(8.0),
|
||||
borderSide: BorderSide(color: AppColor.borderDark),
|
||||
borderSide: const BorderSide(color: AppColor.borderDark),
|
||||
),
|
||||
focusedBorder: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(8.0),
|
||||
borderSide: BorderSide(color: AppColor.primary),
|
||||
borderSide: const BorderSide(color: AppColor.primary),
|
||||
),
|
||||
enabledBorder: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(8.0),
|
||||
borderSide: BorderSide(color: AppColor.borderDark),
|
||||
borderSide: const BorderSide(color: AppColor.borderDark),
|
||||
),
|
||||
errorBorder: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(8.0),
|
||||
borderSide: BorderSide(color: AppColor.error),
|
||||
borderSide: const BorderSide(color: AppColor.error),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user