OutlineDecorationElement constructor
const
OutlineDecorationElement({
- Color? borderColor,
- Color errorBorderColor = Colors.red,
- Color? focusBorderColor,
- Color? disabledBorderColor,
- BorderRadius? radius,
- double? widthSide,
- double? focusWidthSide,
- Color? filledColor,
- Color? focusColor,
- TextStyle? textStyle,
- TextStyle? hintStyle,
- TextStyle? labelStyle,
- TextStyle? textErrorStyle,
- Widget? prefix,
- Widget? suffix,
- EdgeInsetsGeometry? contentPadding,
Implementation
const OutlineDecorationElement({
this.borderColor,
this.errorBorderColor = Colors.red,
this.focusBorderColor,
this.disabledBorderColor,
BorderRadius? radius,
this.widthSide,
this.focusWidthSide,
Color? filledColor,
Color? focusColor,
TextStyle? textStyle,
TextStyle? hintStyle,
TextStyle? labelStyle,
TextStyle? textErrorStyle,
Widget? prefix,
Widget? suffix,
EdgeInsetsGeometry? contentPadding,
}) : super(
radius: radius,
filledColor: filledColor ?? Colors.white,
focusColor: focusColor ?? Colors.white,
style: textStyle,
labelStyle: labelStyle,
hintStyle: hintStyle,
styleError: textErrorStyle,
contentPadding: contentPadding,
prefix: prefix,
suffix: suffix,
);