FlutterWebButton.textMove constructor
FlutterWebButton.textMove(
- String? text, {
- Key? key,
- required VoidCallback? onPressed,
- required FlutterTextOptions? flutterTextOptions,
- Duration? animationDuration,
- double? moveDistanceX = 0,
- double? moveDistanceY = 0,
Display text with an animated move in x or y direction.
Implementation
FlutterWebButton.textMove(
this.text, {
Key? key,
required this.onPressed,
required this.flutterTextOptions,
this.animationDuration,
/// This animation only moves in one direction. (The bigger value is chosen)
this.moveDistanceX = 0,
this.moveDistanceY = 0,
}) : _buttonType = FlutterWebButtonList.textMove,
super(key: key);