copy method
DecorationElement
copy({
- BorderRadius? radius,
- Color? filledColor,
- Color? focusColor,
- TextStyle? style,
- TextStyle? labelStyle,
- TextStyle? hintStyle,
- TextStyle? styleError,
- Widget? prefix,
- Widget? suffix,
- EdgeInsetsGeometry? contentPadding,
override
Implementation
@override
DecorationElement copy({
BorderRadius? radius,
Color? filledColor,
Color? focusColor,
TextStyle? style,
TextStyle? labelStyle,
TextStyle? hintStyle,
TextStyle? styleError,
Widget? prefix,
Widget? suffix,
EdgeInsetsGeometry? contentPadding,
}) {
return RoundedDecorationElement(
radius: radius ?? this.radius,
filledColor: filledColor ?? this.filledColor,
focusColor: focusColor ?? this.focusColor,
textStyle: style ?? this.style,
labelStyle: labelStyle ?? this.labelStyle,
hintStyle: hintStyle ?? this.hintStyle,
styleError: styleError ?? this.styleError,
contentPadding: contentPadding,
prefix: prefix,
suffix: suffix,
);
}