errorInputTheme static method

ThemeData errorInputTheme(
  1. ThemeData theme
)

Error input theme

Implementation

static ThemeData errorInputTheme(ThemeData theme) => theme.copyWith(
      textSelectionTheme: _errorTextSelectionTheme,
      iconTheme: const IconThemeData(color: BasfColors.red),
      hintColor: BasfColors.red.shade400,
      inputDecorationTheme: theme.inputDecorationTheme.copyWith(
        hintStyle: theme.inputDecorationTheme.hintStyle
            ?.copyWith(color: BasfColors.red.shade400),
      ),
    );