Swiper constructor

const Swiper({
  1. Key? key,
  2. bool enabled = true,
  3. required OverlayPosition position,
  4. required WidgetBuilder builder,
  5. required SwiperHandler handler,
  6. bool? expands,
  7. bool? draggable,
  8. bool? barrierDismissible,
  9. WidgetBuilder? backdropBuilder,
  10. bool? useSafeArea,
  11. bool? showDragHandle,
  12. BorderRadiusGeometry? borderRadius,
  13. Size? dragHandleSize,
  14. bool? transformBackdrop,
  15. double? surfaceOpacity,
  16. double? surfaceBlur,
  17. Color? barrierColor,
  18. HitTestBehavior? behavior,
  19. 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,
});