FlutterWebButton.textUnderline constructor
FlutterWebButton.textUnderline(
- String? text, {
- Key? key,
- required VoidCallback? onPressed,
- required FlutterTextOptions? flutterTextOptions,
- Duration? animationDuration,
- Color? textAnimatedColor,
- CrossAxisAlignment? animationCrossAxisAlignment,
- double? lineThickness = 2,
- 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);