UnderlineDecoration constructor
UnderlineDecoration({
- TextStyle? textStyle,
- ObscureStyle? obscureStyle,
- String? errorText,
- TextStyle? errorTextStyle,
- String? hintText,
- TextStyle? hintTextStyle,
- double gapSpace = 16.0,
- List<
double> ? gapSpaces, - required ColorBuilder colorBuilder,
- double lineHeight = 2.0,
- StrokeCap? lineStrokeCap,
- ColorBuilder? bgColorBuilder,
Implementation
UnderlineDecoration({
TextStyle? textStyle,
ObscureStyle? obscureStyle,
String? errorText,
TextStyle? errorTextStyle,
String? hintText,
TextStyle? hintTextStyle,
this.gapSpace = 16.0,
this.gapSpaces,
required this.colorBuilder,
this.lineHeight = 2.0,
this.lineStrokeCap,
this.bgColorBuilder,
}) : super(
textStyle: textStyle,
obscureStyle: obscureStyle,
errorText: errorText,
errorTextStyle: errorTextStyle,
hintText: hintText,
hintTextStyle: hintTextStyle,
baseBgColorBuilder: bgColorBuilder,
);