scrollable_image_view 0.0.5 scrollable_image_view: ^0.0.5 copied to clipboard
A scrollable image view.
scrollable_image_view #
A scrollable image view.
Usage #
Basic Usage #
Show the image with original size.
ScrollableImageView(
imagePath: "hoge.png",
viewSize: Size(width: 400, height: 400),
);
Set image size #
Show the image with specified size.
ScrollableImageView(
imagePath: "hoge.png",
viewSize: Size(width: 400, height: 400),
imageSize: Size(width: 600, height: 400),
);
Set image scale #
Show the image scaled by imageScale.
ScrollableImageView(
imagePath: "hoge.png",
viewSize: Size(width: 400, height: 400),
imageScale: 3.0,
);