39 lines
1.1 KiB
Dart
39 lines
1.1 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:ftc_mobile_app/ftc_mobile_app.dart';
|
|
|
|
class CustomTheme {
|
|
CustomTheme._();
|
|
|
|
static ThemeData defaultTheme() {
|
|
return ThemeData(
|
|
useMaterial3: true,
|
|
fontFamily: "Roboto",
|
|
colorScheme: const ColorScheme.light(
|
|
primary: CustomAppColors.kSecondaryColor
|
|
),
|
|
progressIndicatorTheme: const ProgressIndicatorThemeData(
|
|
color: CustomAppColors.kSecondaryColor),
|
|
checkboxTheme: CheckboxThemeData(
|
|
shape: RoundedRectangleBorder(
|
|
side: const BorderSide(
|
|
color: CustomAppColors.kSmokeColor,
|
|
width: 0.6,
|
|
),
|
|
borderRadius: BorderRadius.circular(
|
|
5.r,
|
|
),
|
|
),
|
|
),
|
|
// radioTheme: RadioThemeData(
|
|
// fillColor: MaterialStateProperty.resolveWith((states) {
|
|
// if (states.contains(MaterialState.pressed)) {
|
|
// return CustomAppColors.kSecondaryColor;
|
|
// }
|
|
// return Colors.white;
|
|
// }),
|
|
// ),
|
|
splashColor: CustomAppColors.kTransparentColor,
|
|
);
|
|
}
|
|
}
|