FlutterWebButton.backgroundColorChange constructor
FlutterWebButton.backgroundColorChange(
- String? text, {
- Key? key,
- required VoidCallback? onPressed,
- required FlutterWebButtonOptions? flutterWebButtonOptions,
- Color? backgroundAnimatedColor,
- Color? textAnimatedColor,
- Duration? animationDuration,
Button Constructors Animates the background color only.
Implementation
/// Animates the background color only.
FlutterWebButton.backgroundColorChange(
this.text, {
Key? key,
required this.onPressed,
required this.flutterWebButtonOptions,
this.backgroundAnimatedColor,
this.textAnimatedColor,
this.animationDuration,
}) : _buttonType = FlutterWebButtonList.backgroundColorChange,
super(key: key);