FlutterWebButton.backgroundFill constructor
FlutterWebButton.backgroundFill(
- String? text, {
- Key? key,
- required VoidCallback? onPressed,
- required FlutterWebButtonOptions? flutterWebButtonOptions,
- Color? textAnimatedColor,
- Color? backgroundAnimatedColor,
- Duration? animationDuration,
Animated a background fill from left to right. FlutterWebButtonOptions.buttonRadius does not work for this animation.
Implementation
FlutterWebButton.backgroundFill(
this.text, {
Key? key,
required this.onPressed,
required this.flutterWebButtonOptions,
this.textAnimatedColor,
this.backgroundAnimatedColor,
this.animationDuration,
}) : _buttonType = FlutterWebButtonList.backgroundFill,
super(key: key);