super_dialog 0.5.1 copy "super_dialog: ^0.5.1" to clipboard
super_dialog: ^0.5.1 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.6.0 - 2026-08-10 #

Changed #

  • Require super_core: ^3.3.0.
  • Migrate SuperDialogSurface typography away from the removed SuperThemeData.textTheme getter to the active SuperMaterialThemeData typography, with a standard Material TextTheme fallback.
  • Update the example theme to construct responsive SuperTextTheme instances before SuperMaterialThemeData.light / .dark and pass the now-required textTheme and primaryTextTheme arguments.
  • Remove the example's duplicate post-generation TextTheme rebuild so typography remains owned by super_core.
  • Update README and bundled Claude/ChatGPT/Codex skills for the super_core 3.3.0 typography and explicit-font-family contracts.

0.4.2 #

  • Upgrade super_core dependency to ^2.1.0.
  • Migrate from removed static SuperTokens values to ambient SuperThemeData.tokens.
  • Derive dialog spacing, radii, and motion from the active GeniusLink theme.
  • Update the example and bundled AI skills for super_core 2.1.0.

0.4.0 - 2026-07-16 #

Added #

  • SuperDialogThemeData, a ThemeExtension backed directly by the published super_core palette, surfaces, radii, spacing, shadows, and motion.
  • SuperDialogSurface, a super_core-backed ready-made modal surface with a compact header, marker or icon badge, scrollable content, and action footer.
  • A SuperDialogConfig.geniusLink() motion preset.

Fixed #

  • barrierBlur now applies an actual backdrop filter instead of being ignored.
  • closeDuration now controls the route's reverse transition duration.

Changed #

  • Added super_core: ^1.2.0 as a runtime package dependency.
  • The example app now uses super_core from pub.dev and generated typed routes from go_router_builder 4.3.1.
  • Example colors, typography, radii, barriers, cards, controls, and code dialog were redesigned to use the shared GeniusLink visual language.
  • Minimum Flutter version is now 3.32.0 to match the Material 3 theme surface.

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 effect
    • bounceSlidBottom - Slides from bottom with bounce curve

    Elastic Animations:

    • elasticIn - Elastic scale with overshoot effect
    • elasticSlideBottom - Slides up with elastic overshoot

    Expand Animations:

    • expandVertical - Expands from center vertically
    • expandHorizontal - Expands from center horizontally
    • expandCenter - Expands uniformly from center

    Flip Animations:

    • flipHorizontal - 3D flip around X-axis
    • flipVertical - 3D flip around Y-axis

    Combined Animations:

    • slideRotateBottom - Slide from bottom with rotation
    • slideRotateTop - Slide from top with rotation
    • slideScaleStart - Slide from start with scale
    • slideScaleEnd - Slide from end with scale
  • Enhanced Animation Extension Methods:

    • isRotation - Check if animation involves rotation
    • isElastic - Check if animation uses elastic/bounce curves
    • Updated isSlide and isScale to include new animation types
  • 3 New PositionedTransitionType Options:

    • bounce - Bouncy entrance with elastic curve for positioned dialogs
    • elastic - 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 21 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_router for modern, declarative routing
    • Added go_router_builder for 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
  • 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, topEnd
    • centerStart, center, centerEnd
    • bottomStart, bottomCenter, bottomEnd
    • offScreen - 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, slideFadeScale
    • fade, scale, scaleFade
  • DialogPositionExtension - Utility extension methods:

    • toAlignment() - Convert to Alignment
    • toAlignmentDirectional() - Convert to AlignmentDirectional (RTL-aware)
    • toSlideOffset() - Convert to Offset for sliding
    • displayName - Human-readable name
    • isTop, 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 options
    • showAnimatedAdaptiveDialog() - 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 top
    • bottomToTop - Rises from bottom (iOS default)
    • centerScale - Scales from 92% with fade
    • centerFade - 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, and toString() implementations
  • Barrier Customization:

    • barrierDismissible - Allow/prevent tap-to-dismiss
    • barrierColor - Custom barrier tint color
    • barrierBlur - Optional Gaussian blur (auto on iOS/macOS)
  • Additional Features:

    • onDismissed callback for dialog lifecycle
    • useSafeArea option for notch/taskbar handling
    • constraints for dialog size limits
    • useRootNavigator for nested navigation support
    • Static rootKey for custom root navigator
  • DialogAnimationExtension - Utility extension methods:

    • displayName - Human-readable animation name
    • isSlide, isScale, isFadeOnly - Animation type checks
    • isHorizontal, 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 part directives

0.0.1 - 2025-12-01 #

Added #

  • Initial project setup
  • Basic animated dialog implementation (as AnimatedDialog)
1
likes
145
points
121
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A powerful, flexible, and beautifully animated dialog toolkit for Flutter. Create stunning dialogs with smooth slide, scale, fade, rotation, bounce, elastic, and flip animations.

Repository (GitHub)
View/report issues

Topics

#dialog #animation #modal #popup #design-system

License

unknown (license)

Dependencies

flutter, super_core

More

Packages that depend on super_dialog