s_modoverlay/s_modoverlay library
Classes
- DialogModal
- A modal widget specifically designed for dialog-style popups
- FrameDesign
- Pop Overlay Frame Design Template
- InterleavedOverlayLayer
- Immutable description of a single interleaved overlay layer.
- Modal
- ModalBuilder
- A widget that shows modals with hot reload support
- ModalLifecycleEvent
- Lightweight public information about a modal lifecycle transition.
- ModalStackLevelBands
- Suggested stack-level bands for consistent layering.
- ModalStackLevels
- Default rendering stack levels for modal types.
- OverlayActivationOrder
- Shared activation-order clock used to keep PopOverlay and s_modal layering consistent across the combined root overlay.
- OverlayInterleaveManager
- PopOverlay
- Main API for the pop overlay system
- PopOverlayContent
- Configuration class for pop overlay content and behavior
- PopOverlayStackLevelBands
- Suggested stack-level bands for consistent overlay layering.
- PopOverlayStackLevels
- Default rendering stack levels for pop overlays.
- PopOverlayTapRegionScope
- Inherited scope used by popup content to expose a shared tap-region group.
- SnackbarDurationIndicator
- A widget that displays a linear progress indicator showing remaining duration
- SnackbarModal
- A modal widget specifically designed for snackbar-style notifications
- SnackbarModalController
- Controller for imperatively managing snackbar animations
Enums
- DurationIndicatorDirection
- Direction for the snackbar duration indicator animation
- ModalAnimationType
- Defines how the modal animates when appearing/disappearing
- ModalLifecycleEventType
- The kind of lifecycle transition reported for a modal.
- ModalType
- Defines the type of modal to display
- SheetPosition
- Defines the position/edge from which a sheet modal appears
- SnackbarDisplayMode
- Defines how multiple snackbars are displayed when shown simultaneously
Functions
-
createSmoothAnimation(
{required double startValue, required double endValue, required Duration duration, Curve curve = Curves.easeOutCubic, required dynamic onUpdate(double value), VoidCallback? onComplete}) → void - Creates a smooth animation effect without needing a TickerProvider
-
lerpDouble(
double? a, double? b, double t) → double
Typedefs
- InterleavedLayerBuilder = Widget Function()
- ModalLifecycleCallback = void Function(ModalLifecycleEvent event)
- ModalLifecycleShouldNotify = bool Function(ModalLifecycleEvent event)
- ModalWidgetBuilder = Widget Function()
- Type definition for widget builder function