DrawerSwiperHandler class
Drawer-style swiper handler with backdrop transformation.
Creates swipers that behave like drawers with backdrop scaling, drag handles, and full interaction support.
Example:
Swiper(
handler: SwiperHandler.drawer,
position: OverlayPosition.left,
builder: (context) => DrawerContent(),
child: MenuButton(),
)
- Inheritance
-
- Object
- SwiperHandler
- DrawerSwiperHandler
Constructors
- DrawerSwiperHandler.new()
-
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.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited