FlyImage constructor
FlyImage({
- Key? key,
- String? imageUrl,
- String? assetPath,
- ImageProvider<
Object> ? imageProvider, - BoxFit fit = BoxFit.cover,
- ValueChanged<
bool> ? onLoadingStateChange, - Widget? loadingWidget,
- Widget? errorWidget,
- double? width,
- double? height,
- AlignmentGeometry? alignment,
- FlyStyle flyStyle = const FlyStyle(),
Implementation
FlyImage({
super.key,
this.imageUrl,
this.assetPath,
this.imageProvider,
this.fit = BoxFit.cover,
this.onLoadingStateChange,
this.loadingWidget,
this.errorWidget,
this.width,
this.height,
this.alignment,
FlyStyle flyStyle = const FlyStyle(),
}) : _flyStyle = flyStyle;