SwiperHandler class abstract

Abstract handler interface for swiper overlay implementations.

Defines the contract for creating different types of swiper overlays, with built-in implementations for drawer-style and sheet-style swipers.

Features:

  • Pluggable swiper behavior patterns
  • Built-in drawer and sheet implementations
  • Consistent API across swiper types
  • Configurable overlay properties

Example:

// Use built-in handlers
const SwiperHandler.drawer
const SwiperHandler.sheet
Implementers

Constructors

SwiperHandler()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openSwiper({required BuildContext context, required WidgetBuilder builder, required OverlayPosition position, bool? expands, bool? draggable, bool? barrierDismissible, WidgetBuilder? backdropBuilder, bool? useSafeArea, bool? showDragHandle, BorderRadiusGeometry? borderRadius, Size? dragHandleSize, bool? transformBackdrop, double? surfaceOpacity, double? surfaceBlur, Color? barrierColor}) DrawerOverlayCompleter
Creates a swiper overlay with the specified configuration.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

drawer → const SwiperHandler
Handler for drawer-style swipers with backdrop transformation.
sheet → const SwiperHandler
Handler for sheet-style swipers with minimal styling.