UnderlineDecoration constructor

UnderlineDecoration({
  1. TextStyle? textStyle,
  2. ObscureStyle? obscureStyle,
  3. String? errorText,
  4. TextStyle? errorTextStyle,
  5. String? hintText,
  6. TextStyle? hintTextStyle,
  7. double gapSpace = 16.0,
  8. List<double>? gapSpaces,
  9. required ColorBuilder colorBuilder,
  10. double lineHeight = 2.0,
  11. StrokeCap? lineStrokeCap,
  12. 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,
      );