FlyImage constructor

FlyImage({
  1. Key? key,
  2. String? imageUrl,
  3. String? assetPath,
  4. ImageProvider<Object>? imageProvider,
  5. BoxFit fit = BoxFit.cover,
  6. ValueChanged<bool>? onLoadingStateChange,
  7. Widget? loadingWidget,
  8. Widget? errorWidget,
  9. double? width,
  10. double? height,
  11. AlignmentGeometry? alignment,
  12. 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;