WrapperImage.size constructor
WrapperImage.size({
- Key? key,
- required String url,
- required num size,
- BoxFit fit = BoxFit.contain,
- bool hold = false,
- bool circle = false,
- bool fillet = false,
- bool square = true,
- num radius = 0,
- List<
String> ? browseList, - ValueNotifier<
File> ? photo, - void delete()?,
- PlaceholderWidgetBuilder? placeholderWidgetBuilder,
- LoadingErrorWidgetBuilder? loadingErrorWidgetBuilder,
Implementation
WrapperImage.size({
Key? key,
required this.url,
required num size,
this.fit: BoxFit.contain,
this.hold = false,
this.circle = false,
this.fillet = false,
this.square = true,
this.radius = 0,
this.browseList,
this.photo,
this.delete,
this.placeholderWidgetBuilder,
this.loadingErrorWidgetBuilder,
}) : this.width = size.toDouble(),
this.height = size.toDouble(),
super(key: key);