super_dialog 0.3.0+2
super_dialog: ^0.3.0+2 copied to clipboard
A powerful, flexible, and beautifully animated dialog toolkit for Flutter. Create stunning dialogs with smooth slide, scale, fade, rotation, bounce, elastic, and flip animations.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.3.0 - 2025-12-31 #
Added #
-
18 New Animation Types - Massive expansion of animation options:
Rotation Animations:
rotateIn- Rotates in with fade effect (-15° to 0°)rotateScale- Combines rotation with scale (0.7 to 1.0)
Bounce Animations:
bounceIn- Elastic bounce scale effectbounceSlidBottom- Slides from bottom with bounce curve
Elastic Animations:
elasticIn- Elastic scale with overshoot effectelasticSlideBottom- Slides up with elastic overshoot
Expand Animations:
expandVertical- Expands from center verticallyexpandHorizontal- Expands from center horizontallyexpandCenter- Expands uniformly from center
Flip Animations:
flipHorizontal- 3D flip around X-axisflipVertical- 3D flip around Y-axis
Combined Animations:
slideRotateBottom- Slide from bottom with rotationslideRotateTop- Slide from top with rotationslideScaleStart- Slide from start with scaleslideScaleEnd- Slide from end with scale
-
Enhanced Animation Extension Methods:
isRotation- Check if animation involves rotationisElastic- Check if animation uses elastic/bounce curves- Updated
isSlideandisScaleto include new animation types
-
3 New PositionedTransitionType Options:
bounce- Bouncy entrance with elastic curve for positioned dialogselastic- Elastic overshoot effect (scale 0.5 to 1.0)zoom- Smooth zoom with ease-out curve (scale 0.88 to 1.0)- Total positioned combinations now: 90 (9 positions × 10 transition types)
-
Complete Example Coverage:
- Added 36+ new example scenarios covering all 24 animation types
- Every DialogAnimation type now has multiple real-world use cases
- Enhanced Transform tab with all rotation, bounce, elastic, expand, flip, and combined animations
Improved #
-
Example App Enhancements:
- Migrated to
go_routerfor modern, declarative routing - Added
go_router_builderfor type-safe navigation - Significantly improved card design with:
- Enhanced hover effects with gradient backgrounds
- Better shadow system with multiple layers
- Improved typography with better spacing and weights
- Smoother animations and transitions
- More prominent accent color highlighting
- Migrated to
-
Better Organization:
- Categorized all animations in enum with clear section comments
- Improved documentation with use cases for each animation type
- Enhanced code structure for better maintainability
Documentation #
- Updated README with all new animation types
- Expanded animation descriptions with visual effects details
- Added comprehensive examples for new animations
- Updated package description to reflect new capabilities
0.2.0 2025-12-24T19:52:58+03:00 #
Added #
-
DialogPosition enum with 10 positions for fine-grained control:
topStart,topCenter,topEndcenterStart,center,centerEndbottomStart,bottomCenter,bottomEndoffScreen- For slide-in from outside the screen
-
showPositionedDialog() - New method for custom position transitions:
- Define exact start and end positions on a 3x3 grid
- Multiple transition types: slide, fade, scale, or combinations
-
PositionedTransitionType enum:
slide,slideFade,slideScale,slideFadeScalefade,scale,scaleFade
-
DialogPositionExtension - Utility extension methods:
toAlignment()- Convert to AlignmenttoAlignmentDirectional()- Convert to AlignmentDirectional (RTL-aware)toSlideOffset()- Convert to Offset for slidingdisplayName- Human-readable nameisTop,isBottom,isStart,isEnd, etc.
-
PositionedDialogTransitionBuilder - Reusable builder for positioned transitions
0.1.0 2025-12-24T19:22:21+03:00 #
Added #
-
SuperDialog - Core class with static methods for showing animated dialogs
showAnimatedDialog()- Shows dialog with sensible defaults (barrier dismissible)showAnimatedGeneralDialog()- Full control over all dialog optionsshowAnimatedAdaptiveDialog()- Platform-adaptive dialog (iOS/macOS vs others)
-
DialogAnimation enum with 6 animation styles:
startToEnd- Slides from leading edge (respects RTL)endToStart- Slides from trailing edge (respects RTL)topToBottom- Drops from topbottomToTop- Rises from bottom (iOS default)centerScale- Scales from 92% with fadecenterFade- Simple fade in/out
-
SuperDialogConfig - Configuration class for animation timing:
- Customizable open/close durations
- Customizable open/close curves
copyWith()method for easy modification- Proper
==,hashCode, andtoString()implementations
-
Barrier Customization:
barrierDismissible- Allow/prevent tap-to-dismissbarrierColor- Custom barrier tint colorbarrierBlur- Optional Gaussian blur (auto on iOS/macOS)
-
Additional Features:
onDismissedcallback for dialog lifecycleuseSafeAreaoption for notch/taskbar handlingconstraintsfor dialog size limitsuseRootNavigatorfor nested navigation support- Static
rootKeyfor custom root navigator
-
DialogAnimationExtension - Utility extension methods:
displayName- Human-readable animation nameisSlide,isScale,isFadeOnly- Animation type checksisHorizontal,isVertical- Direction checks
-
DialogTransitionBuilder - Reusable transition builder class
-
Example App - Comprehensive demo with:
- 18 example scenarios
- Light/Dark theme support
- Modern, professional UI design
- All animation types demonstrated
-
Documentation:
- Full API documentation with examples
- pub.dev style README
- Code organized using
partdirectives