showImage static method
void
showImage({
- required BuildContext context,
- SuperTooltip? tooltip,
- required List<
String> imageList, - required int tapImageId,
Implementation
static void showImage({
required BuildContext context,
SuperTooltip? tooltip,
required List<String> imageList,
required int tapImageId,
}) {
DialogTipType _tipType = DialogTipType.success;
late Animation _animation;
late AnimationController _animationController;
showDialog(
context: context,
builder: (_) => ProsteCustomDialog(
insetPadding: EdgeInsets.zero,
dialogRadius: 5,
content: ViewImageSlider(
imageList: imageList,
index: tapImageId,
),
titlePadding: EdgeInsets.only(top: 0),
contentPadding: EdgeInsets.only(top: 0),
showConfirmButton: false,
showCancelButton: false,
confirmButtonColor: Colors.cyan,
cancelButtonColor: Colors.black,
),
);
}