FadingImageButton constructor

FadingImageButton({
  1. Key? key,
  2. required Function onPressed,
  3. required Image image,
  4. required Image onPressedImage,
  5. double? width,
  6. double? height,
  7. EdgeInsets? padding,
  8. Duration? duration,
})

Implementation

FadingImageButton({
  Key? key,
  required this.onPressed,
  required this.image,
  required this.onPressedImage,
  this.width,
  this.height,
  this.padding,
  this.duration,
}) : super(key: key);