SheetSwiperHandler class
Sheet-style swiper handler with minimal styling.
Creates swipers that behave like sheets with edge-to-edge content, minimal decoration, and optional drag interaction.
Example:
Swiper(
handler: SwiperHandler.sheet,
position: OverlayPosition.bottom,
builder: (context) => BottomSheetContent(),
child: ActionButton(),
)
- Inheritance
-
- Object
- SwiperHandler
- SheetSwiperHandler
Constructors
- SheetSwiperHandler.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