FlutterWebButton.raiseText constructor
FlutterWebButton.raiseText(
- String? text, {
- Key? key,
- required VoidCallback? onPressed,
- required FlutterWebButtonOptions? flutterWebButtonOptions,
- Duration? animationDuration,
- Color? textAnimatedColor,
- double? moveDistanceX = 0,
- double? moveDistanceY = -4,
Animation that bumps the text up.
Implementation
FlutterWebButton.raiseText(
this.text, {
Key? key,
required this.onPressed,
required this.flutterWebButtonOptions,
this.animationDuration,
this.textAnimatedColor,
/// This animation only moves in one direction. (The bigger value is chosen)
this.moveDistanceX = 0,
this.moveDistanceY = -4,
}) : _buttonType = FlutterWebButtonList.raiseText,
super(key: key);