Aidra Connect 10.0.2+16
Aidra Connect Mobile Application
Loading...
Searching...
No Matches
light_theme.dart
Go to the documentation of this file.
1import 'package:flutter/material.dart';
2import 'package:flutter/services.dart';
3import 'package:flutter_screenutil/flutter_screenutil.dart';
4import 'package:google_fonts/google_fonts.dart';
5
6import 'color_palette.dart';
7
8final ThemeData lightTheme = ThemeData(
9 useMaterial3: false,
10 brightness: Brightness.light,
11 primaryColor: ColorPaletteV2.primaryLight,
12 colorScheme: const ColorScheme(
13 primary: ColorPaletteV2.primaryLight,
14 primaryContainer: ColorPaletteV2.primaryVariantLight,
15 secondary: ColorPaletteV2.secondaryLight,
16 secondaryContainer: ColorPaletteV2.secondaryVariantLight,
17 surface: ColorPaletteV2.surfaceLight,
18 error: ColorPaletteV2.errorLight,
19 onPrimary: Colors.white,
20 onSecondary: Colors.white,
21 onSurface: ColorPaletteV2.textPrimaryLight,
22 onError: Colors.white,
23 brightness: Brightness.light,
24 ),
25 dividerColor: ColorPaletteV2.textPrimaryLight.withOpacity(0.3),
26 scaffoldBackgroundColor: ColorPaletteV2.backgroundLight,
27 fontFamily: GoogleFonts.poppins().fontFamily,
28 textTheme: TextTheme(
29 displayLarge: TextStyle(
30 fontWeight: FontWeight.bold,
32 fontSize: 26.sp,
33 ),
34 displayMedium: TextStyle(
35 fontWeight: FontWeight.w700,
36 color: ColorPaletteV2.textPrimaryLight,
37 fontSize: 18.sp,
38 ),
39 displaySmall: TextStyle(
40 fontWeight: FontWeight.w500,
41 color: ColorPaletteV2.textPrimaryLight,
42 fontSize: 15.sp,
43 ),
44 bodySmall: TextStyle(
45 fontWeight: FontWeight.w300,
46 color: ColorPaletteV2.textPrimaryLight,
47 fontSize: 12.sp,
48 ),
49 ),
50 elevatedButtonTheme: ElevatedButtonThemeData(
51 style: ElevatedButton.styleFrom(
52 padding: EdgeInsets.all(18.sp),
53 elevation: 0,
54 shape: RoundedRectangleBorder(
55 borderRadius: BorderRadius.circular(10),
56 ),
57 shadowColor: ColorPaletteV2.primaryLight.withOpacity(0.11),
58 overlayColor: ColorPaletteV2.secondaryLight,
59 textStyle: TextStyle(
60 fontWeight: FontWeight.bold,
61 fontSize: 14.sp,
62 ),
63 ),
64 ),
65).copyWith(
66 appBarTheme: AppBarTheme(
67 systemOverlayStyle: SystemUiOverlayStyle(
68 statusBarColor: Colors.transparent,
69 statusBarIconBrightness: Brightness.dark,
70 statusBarBrightness: Brightness.light,
71 systemNavigationBarColor: ColorPalette.white,
72 systemNavigationBarIconBrightness: Brightness.dark,
73 ),
74 ),
75);
static const black
static const white
final EdgeInsets padding
final Color color
Definition failures.dart:1
final ThemeData lightTheme