Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a new close customization widget option. #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mayurpitroda96
Copy link

showImageViewer(
context,
Image.network("https://picsum.photos/id/1001/4912/3264")
.image,
closeWidget: Container(
clipBehavior: Clip.hardEdge,
padding: const EdgeInsets.all(5),
margin: const EdgeInsets.all(10),
decoration: BoxDecoration(
color: Colors.red.withOpacity(0.5),
shape: BoxShape.circle
),
child: const Icon(Icons.close, color: Colors.white,),
),
swipeDismissible: true,
doubleTapZoomable: true);
}),

@agata
Copy link

agata commented Feb 29, 2024

I'd like to use this feature as well, as I'm interested in customizing the close button's icon and appearance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants