FlutterWebButton.grow constructor

FlutterWebButton.grow(
  1. String? text, {
  2. Key? key,
  3. required VoidCallback? onPressed,
  4. required FlutterWebButtonOptions? flutterWebButtonOptions,
  5. Duration? animationDuration,
  6. 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);