SwiperTheme constructor

const SwiperTheme({
  1. bool? expands,
  2. bool? draggable,
  3. bool? barrierDismissible,
  4. WidgetBuilder? backdropBuilder,
  5. bool? useSafeArea,
  6. bool? showDragHandle,
  7. BorderRadiusGeometry? borderRadius,
  8. Size? dragHandleSize,
  9. bool? transformBackdrop,
  10. double? surfaceOpacity,
  11. double? surfaceBlur,
  12. Color? barrierColor,
  13. HitTestBehavior? behavior,
})

Creates a SwiperTheme.

All parameters are optional and will use system defaults when null.

Example:

const SwiperTheme(
  expands: true,
  draggable: true,
  transformBackdrop: true,
)

Implementation

const SwiperTheme({
  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,
});