showImageViewer method
dynamic
showImageViewer(
- BuildContext context, {
- required bool blur,
- required double sigma,
- Color? closeColor,
- Object? tag,
Implementation
showImageViewer(
final BuildContext context, {
required final bool blur,
required final double sigma,
final Color? closeColor,
final Object? tag,
}) =>
_bytes == null
? throw Exception('There is no any image loaded')
: imageViewerDialog(context,
tag : tag ?? Random().nextInt(100000),
bytes : _bytes ?? Uint8List(0),
blur : blur,
sigma : sigma,
closeColor : closeColor
);