showImageViewer method

dynamic showImageViewer(
  1. BuildContext context, {
  2. required bool blur,
  3. required double sigma,
})

Implementation

showImageViewer(BuildContext context, {
  required bool blur,
  required double sigma
}) => _bytes == null
? throw Exception('There is no any image loaded')
: imageViewerDialog(
  context,
  bytes : _bytes ?? Uint8List(0),
  blur  : blur,
  sigma : sigma
);