primaryInputDecorationTheme static method
The primary InputDecorationTheme for the light theme.
Implementation
static InputDecorationTheme primaryInputDecorationTheme() {
return InputDecorationTheme(
prefixIconColor: LightThemeColors.colorScheme.primary,
suffixIconColor: LightThemeColors.colorScheme.primary,
fillColor: Colors.transparent,
helperMaxLines: 3,
hintStyle: AppTypography.light().bodyLarge?.copyWith(color: LightThemeColors.colorScheme.onSurfaceVariant.withValues(alpha: 0.5)),
errorStyle: TextStyle(fontSize: 14.0, letterSpacing: 0.4, color: LightThemeColors.colorScheme.error, fontWeight: FontWeight.w600),
errorMaxLines: 3,
border: OutlineInputBorder(
borderSide: BorderSide(color: LightThemeColors.colorScheme.primary, width: 1.5),
borderRadius: BorderRadius.circular(10),
),
focusedBorder: OutlineInputBorder(
borderSide: BorderSide(color: LightThemeColors.colorScheme.primary, width: 2),
borderRadius: BorderRadius.circular(10),
),
disabledBorder: OutlineInputBorder(borderSide: const BorderSide(width: 1), borderRadius: BorderRadius.circular(10)),
);
}