WebUiSettings constructor
WebUiSettings({
- required BuildContext context,
- WebPresentStyle presentStyle = WebPresentStyle.dialog,
- WebDialogBuilder? customDialogBuilder,
- WebRouteBuilder? customRouteBuilder,
- CropperSize? size,
- WebViewMode? viewwMode,
- WebDragMode? dragMode,
- num? initialAspectRatio,
- bool? checkCrossOrigin,
- bool? checkOrientation,
- bool? modal,
- bool? guides,
- bool? center,
- bool? highlight,
- bool? background,
- bool? movable,
- bool? rotatable,
- bool? scalable,
- bool? zoomable,
- bool? zoomOnTouch,
- bool? zoomOnWheel,
- num? wheelZoomRatio,
- bool? cropBoxMovable,
- bool? cropBoxResizable,
- bool? toggleDragModeOnDblclick,
- num? minContainerWidth,
- num? minContainerHeight,
- num? minCropBoxWidth,
- num? minCropBoxHeight,
- WebTranslations? translations,
- Color? barrierColor,
- WebThemeData? themeData,
Implementation
WebUiSettings({
required this.context,
this.presentStyle = WebPresentStyle.dialog,
this.customDialogBuilder,
this.customRouteBuilder,
this.size,
this.viewwMode,
this.dragMode,
this.initialAspectRatio,
// this.aspectRatio,
this.checkCrossOrigin,
this.checkOrientation,
this.modal,
this.guides,
this.center,
this.highlight,
this.background,
this.movable,
this.rotatable,
this.scalable,
this.zoomable,
this.zoomOnTouch,
this.zoomOnWheel,
this.wheelZoomRatio,
this.cropBoxMovable,
this.cropBoxResizable,
this.toggleDragModeOnDblclick,
this.minContainerWidth,
this.minContainerHeight,
this.minCropBoxWidth,
this.minCropBoxHeight,
this.translations,
this.barrierColor,
this.themeData,
});