WrapperImage constructor

WrapperImage({
  1. Key? key,
  2. required double? width,
  3. required double? height,
  4. required String url,
  5. BoxFit fit = BoxFit.contain,
  6. bool hold = false,
  7. bool circle = false,
  8. bool fillet = false,
  9. bool square = false,
  10. num radius = 0,
  11. List<String>? browseList,
  12. ValueNotifier<File>? photo,
  13. void delete()?,
  14. PlaceholderWidgetBuilder? placeholderWidgetBuilder,
  15. LoadingErrorWidgetBuilder? loadingErrorWidgetBuilder,
})

Implementation

WrapperImage({
  Key? key,
  required this.width,
  required this.height,
  required this.url,
  this.fit: BoxFit.contain,
  this.hold = false,
  this.circle = false,
  this.fillet = false,
  this.square = false,
  this.radius = 0,
  this.browseList,
  this.photo,
  this.delete,
  this.placeholderWidgetBuilder,
  this.loadingErrorWidgetBuilder,
}) : super(key: key);