juxtapose
1.2.0, released 5 years ago by lesliearkorful.com
A widget to compare two stacked widgets by dragging a slider thumb.
What it does
A Flutter widget that allows users to compare two stacked widgets by dragging a slider thumb horizontally or vertically. It reveals either side of the slider depending on the drag position.
AI-written summary of version 1.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to compare before-and-after images
- You need a slider interface to reveal parts of stacked widgets
Skip it when
- You are looking for complex state management or networking solutions
Strengths
- Supports both horizontal and vertical directions
- Customizable divider, thumb size, and colors
Weaknesses
- Inner widgets expand by default unless wrapped in specific widgets like Center
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Juxtapose(
backgroundColor: Color(0xFF012747),
foregroundWidget: Image.asset("flutter-logo.png"),
backgroundWidget: Image.asset("flutter-logo-stroke.png"),
)Alternatives
Packages that do the same job and could replace juxtapose.
- tuna_flutter_range_slider
A material design single and range slider widget with vertical and horizontal support.
39Compare - side_sheet
Implements side sheets for all platforms and responsive UI.
47Compare - cross_scroll
Widget that enables simultaneous vertical and horizontal scrolling with always‑visible custom scrollbars.
46Compare - adaptive_scrollbar
Adaptive desktop-style scrollbar placed on either side of the screen.
44Compare