FlutterWebButton.iconGrow constructor

FlutterWebButton.iconGrow({
  1. Key? key,
  2. required IconData? icon,
  3. required VoidCallback? onPressed,
  4. required FlutterWebIconOptions? flutterWebIconOptions,
  5. Duration? animationDuration,
  6. double? growAmount = 1.05,
})

Simple icon with grow effect.

Implementation

FlutterWebButton.iconGrow({
  Key? key,
  required this.icon,
  required this.onPressed,
  required this.flutterWebIconOptions,
  this.animationDuration,
  this.growAmount = 1.05,
})  : _buttonType = FlutterWebButtonList.iconGrow,
      super(key: key);