mobius_carousel 0.3.2
mobius_carousel: ^0.3.2 copied to clipboard
A custom infinite carousel slider with tilted neighbors, rubber-band pull-to-claim, confetti burst, claim dialog, and configurable ripple effects.
0.3.2 #
- Homepage and README now link to the package's documentation page on flutterdev.in. No code changes.
0.3.1 #
claimEnabled(defaulttrue) — set it tofalseto keep the pull-down gesture and its ripple while never claiming: no confetti, no dialog, andonOfferClaimednever fires.- Example: reads as a bird gallery. The header names the centred bird in the
colour taken from its own photograph, and the offer copy is kept in the
tree behind
Visibility. - Re-recorded
doc/demo.gifagainst the bird example, and excluded the repository's still screenshots from the published archive (9 MB to 3 MB).
0.3.0 #
dragToClaimEnabled(defaulttrue) — set it tofalseto switch off pull-down-to-claim entirely. The vertical gesture is not recognised, so the card does not follow the finger, the ripple never draws andonOfferClaimednever fires; horizontal swiping, taps and auto-play are unaffected.- Example: cards now show public-domain bird photographs, with each card's accent colour extracted from its own photo at run time.
0.2.1 #
- Documentation only: added a demo GIF showing swiping cards and claiming an offer. No code changes.
0.2.0 #
MobiusCarousel.cardBuilder— optional builder for fully custom card visuals. The carousel keeps handling tilt, scale, gestures, ripple, confetti, dialog, and auto-play around whatever widget you return.MobiusItem.data(Object?) — attach any payload (domain model, analytics id, callback, map) and cast it back insidecardBuilder.MobiusItem.child(Widget?) — per-item custom widget that overrides both the built-in card andcardBuilderfor that specific slot.
0.1.0 #
- Initial release.
- Infinite-wrap horizontal swipe carousel with tilted neighbor cards.
- Auto-play that pauses during user interaction.
- Per-side configuration for tilt angle, position offset, and gap.
- Rubber-band pull-down on the center card with elastic snap-back.
onOfferClaimedcallback when the user pulls pastclaimThreshold.- Optional built-in confetti burst on claim (carousel + dialog).
- Optional built-in non-dismissable "Offer Claimed!" dialog.
onClaimConfirmedcallback for custom routing on "Awesome!" tap.- Four ripple styles for the drop indicator:
wavy,circular,semiCircle,none. - Scallop-edged ticket card shape with dashed code chip.
- Header / footer slots for fully custom top/bottom widgets.
- Zero third-party dependencies — uses only the Flutter SDK.
