ImageViewer.circle constructor
ImageViewer.circle({
- Future<
void> onTap()?, - String? htmlImage,
- String? assetImage,
- bool? alive,
- double? dimension,
- Widget? emptyWidget,
- Widget? filledWidget,
- Widget? onErrorWidget,
- Widget? onLoadingWidget,
- EdgeInsetsGeometry? margin,
- Color? backgroundColor,
- Border? border,
- BoxShadow? shadow,
- BoxFit? fit,
- Map<
String, String> ? headers, - Object? tag,
- Duration? duration,
- int? maxSize,
Implementation
factory ImageViewer.circle({
final Future<void> Function() ? onTap,
final String ? htmlImage,
final String ? assetImage,
final bool ? alive,
final double ? dimension,
final Widget ? emptyWidget,
final Widget ? filledWidget,
final Widget ? onErrorWidget,
final Widget ? onLoadingWidget,
final EdgeInsetsGeometry ? margin,
final Color ? backgroundColor,
final Border ? border,
final BoxShadow ? shadow,
final BoxFit ? fit,
final Map<String, String> ? headers,
final Object ? tag,
final Duration ? duration,
final int ? maxSize,
}) =>
ImageViewer(
onTap : onTap,
htmlImage : htmlImage,
assetImage : assetImage,
alive : alive,
width : dimension,
height : dimension,
onErrorWidget : onErrorWidget,
onLoadingWidget : onLoadingWidget,
margin : margin,
backgroundColor : backgroundColor,
border : border,
shadow : shadow,
fit : fit ?? BoxFit.cover,
shape : BoxShape.circle,
headers : headers,
tag : tag,
duration : duration ?? Duration(milliseconds: 250),
maxSize : maxSize,
);