FlutterWebButton.textUnderline constructor

FlutterWebButton.textUnderline(
  1. String? text, {
  2. Key? key,
  3. required VoidCallback? onPressed,
  4. required FlutterTextOptions? flutterTextOptions,
  5. Duration? animationDuration,
  6. Color? textAnimatedColor,
  7. CrossAxisAlignment? animationCrossAxisAlignment,
  8. double? lineThickness = 2,
  9. double? lineSpacing = 0,
})

Display text with an animated underline effect.

Implementation

FlutterWebButton.textUnderline(
  this.text, {
  Key? key,
  required this.onPressed,
  required this.flutterTextOptions,
  this.animationDuration,
  this.textAnimatedColor,
  this.animationCrossAxisAlignment,
  this.lineThickness = 2,
  this.lineSpacing = 0,
})  : _buttonType = FlutterWebButtonList.textUnderline,
      super(key: key);