getMainInputDecorationTheme static method

InputDecorationTheme getMainInputDecorationTheme(
  1. MaterialColor color
)

Main input theme

Implementation

static InputDecorationTheme getMainInputDecorationTheme(MaterialColor color) {
  return InputDecorationTheme(
    enabledBorder: _enabledBorder(color),
    focusedBorder: _focusedBorder(color),
    errorBorder: _errorBorder,
    focusedErrorBorder: _errorBorder,
    disabledBorder: _disabledBorder,
    contentPadding: const EdgeInsets.symmetric(horizontal: 15),
    iconColor: color,
    prefixIconColor: color,
    suffixIconColor: color,
    hintStyle:
        BasfThemes.mainTextTheme.titleMedium!.copyWith(color: color.shade400),
  );
}