This repository has been archived on 2024-10-18. You can view files and clone it, but cannot push or open issues or pull requests.
ftc_patient_app/lib/utilities/custom_theme.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,
);
}
}