WrapperImage.max constructor

WrapperImage.max({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. required String url,
  5. BoxFit fit = BoxFit.fill,
  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.max({
  Key? key,
  this.width,
  this.height,
  required this.url,
  this.fit: BoxFit.fill,
  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);