FlutterWebButton.grow constructor
FlutterWebButton.grow(
- String? text, {
- Key? key,
- required VoidCallback? onPressed,
- required FlutterWebButtonOptions? flutterWebButtonOptions,
- Duration? animationDuration,
- double? growAmount = 1.05,
Simple button with grow effect.
Implementation
FlutterWebButton.grow(
this.text, {
Key? key,
required this.onPressed,
required this.flutterWebButtonOptions,
this.animationDuration,
this.growAmount = 1.05,
}) : _buttonType = FlutterWebButtonList.buttonGrow,
super(key: key);