FLImage constructor
FLImage({
- Key? key,
- required ImageProvider<
Object> image, - ImageProvider<
Object> ? highlightImage, - BorderRadius? borderRadius,
- double? width,
- double? height,
- BoxFit? fit,
- ImageLoadingBuilder? loadingBuilder,
- ImageFrameBuilder? frameBuilder,
- AlignmentGeometry alignment = Alignment.center,
- ImageRepeat imageRepeat = ImageRepeat.noRepeat,
- BlendMode? colorBlendMode,
- FilterQuality filterQuality = FilterQuality.low,
- Color? splashColor,
- Color? highlightColor,
- 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);