FLImage constructor

FLImage({
  1. Key? key,
  2. required ImageProvider<Object> image,
  3. ImageProvider<Object>? highlightImage,
  4. BorderRadius? borderRadius,
  5. double? width,
  6. double? height,
  7. BoxFit? fit,
  8. ImageLoadingBuilder? loadingBuilder,
  9. ImageFrameBuilder? frameBuilder,
  10. AlignmentGeometry alignment = Alignment.center,
  11. ImageRepeat imageRepeat = ImageRepeat.noRepeat,
  12. BlendMode? colorBlendMode,
  13. FilterQuality filterQuality = FilterQuality.low,
  14. Color? splashColor,
  15. Color? highlightColor,
  16. VoidCallback? onPressed,
})

Implementation

FLImage({
  Key? key,
  required this.image,
  this.highlightImage,
  this.borderRadius,
  this.width,
  this.height,
  this.fit,
  this.loadingBuilder,
  this.frameBuilder,
  this.alignment = Alignment.center,
  this.imageRepeat = ImageRepeat.noRepeat,
  this.colorBlendMode,
  this.filterQuality = FilterQuality.low,
  this.splashColor,
  this.highlightColor,
  this.onPressed,
})  : super(key: key);