full_screen_image
2.0.0, released 4 years ago by an unverified publisher
A Flutter widget to display photos and widgets in full screen with vertical scroll dismiss.
What it does
Provides a FullScreenWidget wrapper that enlarges child widgets or photos into a full-screen view. It supports Hero animations, custom background colors, transparency toggles, and automatically dismisses when scrolled vertically.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to let users tap an image to view it in full screen.
- You need smooth Hero transitions between regular and full-screen image states.
- You want quick full-screen capabilities with minimal boilerplate.
Skip it when
- You need complex pinch-to-zoom, pan, or multi-image gallery swiping.
- You require advanced image caching or custom provider loading strategies.
Strengths
- Extremely easy to set up with a single wrapper widget.
- Supports custom backgrounds and non-transparent views.
- Works seamlessly out of the box with Flutter's Hero widget.
Weaknesses
- Lacks advanced photo viewer features like pinch-to-zoom.
- No built-in gallery swiping between multiple images.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
FullScreenWidget(
child: ClipRRect(
borderRadius: BorderRadius.circular(16),
child: Image.asset(
"assets/image1.jpg",
fit: BoxFit.cover,
),
),
)Alternatives
Packages that do the same job and could replace full_screen_image.
- photo_view
Choose photo_view if you need advanced features like pinch-to-zoom, panning, and multi-image galleries.
50Compare - cached_network_image
Choose cached_network_image if you primarily need to load, cache, and display network images rather than just full-screen toggling.
91Compare