Swiper constructor
const
Swiper({
- Key? key,
- bool enabled = true,
- required OverlayPosition position,
- required WidgetBuilder builder,
- required SwiperHandler handler,
- bool? expands,
- bool? draggable,
- bool? barrierDismissible,
- WidgetBuilder? backdropBuilder,
- bool? useSafeArea,
- bool? showDragHandle,
- BorderRadiusGeometry? borderRadius,
- Size? dragHandleSize,
- bool? transformBackdrop,
- double? surfaceOpacity,
- double? surfaceBlur,
- Color? barrierColor,
- HitTestBehavior? behavior,
- required Widget child,
Implementation
const Swiper({
super.key,
this.enabled = true,
required this.position,
required this.builder,
required this.handler,
this.expands,
this.draggable,
this.barrierDismissible,
this.backdropBuilder,
this.useSafeArea,
this.showDragHandle,
this.borderRadius,
this.dragHandleSize,
this.transformBackdrop,
this.surfaceOpacity,
this.surfaceBlur,
this.barrierColor,
this.behavior,
required this.child,
});