ImageWidget constructor

const ImageWidget({
  1. Key? key,
  2. required String urlOrAlias,
  3. Color? backgroundColor,
  4. double? width,
  5. double? height,
  6. BoxFit? fit,
  7. BorderRadius? borderRadius,
  8. String? placeholder,
  9. String? placeholderAlias,
  10. ImageExtensionData? extensionData,
  11. OnBuildImageUrlCall? buildUrlCall,
  12. OnBuildFinishedCall? buildFinishedCall,
})

Implementation

const ImageWidget(
    {Key? key,
    required this.urlOrAlias,
    this.backgroundColor,
    this.width,
    this.height,
    this.fit,
    this.borderRadius,
    this.placeholder,
    this.placeholderAlias,
    this.extensionData,
    this.buildUrlCall,
    this.buildFinishedCall})
    : super(key: key);