nuntioLightTheme top-level property
ThemeData
nuntioLightTheme
getter/setter pair
Implementation
ThemeData nuntioLightTheme = ThemeData(
primaryColor: primaryColor,
dividerColor: lightBorderColor,
scaffoldBackgroundColor: Colors.white,
backgroundColor: Colors.white,
disabledColor: lightDisabledColor,
appBarTheme: AppBarTheme(
backgroundColor: Colors.grey,
elevation: 0,
),
buttonTheme: ButtonThemeData(height: buttonHeight),
inputDecorationTheme: InputDecorationTheme(
enabledBorder: OutlineInputBorder(
borderSide: BorderSide(
width: borderWidth,
color: lightBorderColor,
),
borderRadius: BorderRadius.circular(borderRadius),
),
focusedBorder: OutlineInputBorder(
borderSide: BorderSide(
width: borderWidth,
color: primaryColor,
),
borderRadius: BorderRadius.circular(borderRadius),
),
disabledBorder: OutlineInputBorder(
borderSide: BorderSide(
width: borderWidth,
color: lightBorderColor,
),
borderRadius: BorderRadius.circular(borderRadius),
),
errorBorder: OutlineInputBorder(
borderSide: BorderSide(
width: borderWidth,
color: errorColor,
),
borderRadius: BorderRadius.circular(borderRadius),
),
focusedErrorBorder: OutlineInputBorder(
borderSide: BorderSide(
width: borderWidth,
color: errorColor,
),
borderRadius: BorderRadius.circular(borderRadius),
),
border: OutlineInputBorder(
borderSide: BorderSide(
width: borderWidth,
color: lightBorderColor,
),
borderRadius: BorderRadius.circular(borderRadius),
),
),
textTheme: TextTheme(
displayMedium: const TextStyle(
fontWeight: FontWeight.bold,
color: Colors.black,
fontSize: 26,
),
labelLarge: const TextStyle(color: Colors.black),
bodySmall: const TextStyle(color: Colors.black),
bodyMedium: const TextStyle(color: Colors.black),
labelMedium: const TextStyle(
color: Color(0xffaaacad), fontSize: 14, fontWeight: FontWeight.w500),
headlineSmall: const TextStyle(
color: Colors.grey,
fontSize: 20,
fontWeight: FontWeight.w400,
),
bodyLarge: const TextStyle(fontWeight: FontWeight.w600, fontSize: 16),
),
textButtonTheme: TextButtonThemeData(
style: ButtonStyle(
shape: MaterialStateProperty.all<RoundedRectangleBorder>(
RoundedRectangleBorder(
borderRadius: BorderRadius.circular(borderRadius),
),
),
)),
elevatedButtonTheme: ElevatedButtonThemeData(
style: ButtonStyle(
backgroundColor: MaterialStateProperty.all<Color>(Colors.black),
elevation: MaterialStateProperty.all<double>(0),
shape: MaterialStateProperty.all<RoundedRectangleBorder>(
RoundedRectangleBorder(
borderRadius: BorderRadius.circular(borderRadius),
),
),
),
),
dividerTheme: DividerThemeData(thickness: 1.4),
outlinedButtonTheme: OutlinedButtonThemeData(
style: ButtonStyle(
backgroundColor: MaterialStateProperty.all<Color>(Colors.white),
elevation: MaterialStateProperty.all<double>(0),
shape: MaterialStateProperty.all<RoundedRectangleBorder>(
RoundedRectangleBorder(
side: BorderSide(
width: borderWidth,
color: lightBorderColor,
),
borderRadius: BorderRadius.circular(9),
),
),
),
));