UnderlineDecoration constructor

const UnderlineDecoration({
  1. TextStyle? textStyle,
  2. ObscureStyle? obscureStyle,
  3. String? errorText,
  4. TextStyle? errorTextStyle,
  5. String? hintText,
  6. TextStyle? hintTextStyle,
  7. Color? enteredColor,
  8. double gapSpace = 16.0,
  9. List<double>? gapSpaces,
  10. Color color = Colors.cyan,
  11. double lineHeight = 2.0,
})

Implementation

const UnderlineDecoration({
  TextStyle? textStyle,
  ObscureStyle? obscureStyle,
  String? errorText,
  TextStyle? errorTextStyle,
  String? hintText,
  TextStyle? hintTextStyle,
  this.enteredColor,
  this.gapSpace: 16.0,
  this.gapSpaces,
  this.color: Colors.cyan,
  this.lineHeight: 2.0,
}) : super(
        textStyle: textStyle,
        obscureStyle: obscureStyle,
        errorText: errorText,
        errorTextStyle: errorTextStyle,
        hintText: hintText,
        hintTextStyle: hintTextStyle,
      );