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