toInputDecorationTheme method
Implementation
InputDecorationTheme toInputDecorationTheme() {
return InputDecorationTheme(
floatingLabelAlignment: FloatingLabelAlignment.start,
floatingLabelBehavior: FloatingLabelBehavior.auto,
floatingLabelStyle: floatingLabelStyle(enabled: enabled, error: error),
alignLabelWithHint: alignLabelWithHint,
labelStyle: textStyle(enabled),
isDense: textfieldSize.isDense,
contentPadding: textfieldSize.contentPadding,
focusColor: focusedColor,
fillColor: getFillColor(enabled: enabled, error: error),
filled: filled,
focusedBorder: focusedBorder(textfieldSize),
border: border(textfieldSize),
disabledBorder: disabledBorder(textfieldSize),
errorBorder: errorBorder(textfieldSize),
focusedErrorBorder: errorBorder(textfieldSize),
);
}