OutlineDecorationElement constructor

const OutlineDecorationElement({
  1. Color? borderColor,
  2. Color errorBorderColor = Colors.red,
  3. Color? focusBorderColor,
  4. Color? disabledBorderColor,
  5. BorderRadius? radius,
  6. double? widthSide,
  7. double? focusWidthSide,
  8. Color? filledColor,
  9. Color? focusColor,
  10. TextStyle? textStyle,
  11. TextStyle? hintStyle,
  12. TextStyle? labelStyle,
  13. TextStyle? textErrorStyle,
  14. Widget? prefix,
  15. Widget? suffix,
  16. 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,
      );