WebUiSettings class

Inheritance

Constructors

WebUiSettings.new({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})

Properties

background bool?
Show the grid background of the container.
final
barrierColor Color?
Barrier color for displayed Dialog
final
center bool?
Show the center indicator above the crop box.
final
checkCrossOrigin bool?
Check if the current image is a cross-origin image.
final
checkOrientation bool?
Check the current image's Exif Orientation information. Note that only a JPEG image may contain Exif Orientation information.
final
context BuildContext
Current BuildContext The context is required to show cropper dialog or route
final
cropBoxMovable bool?
Enable to move the crop box by dragging.
final
cropBoxResizable bool?
Enable to resize the crop box by dragging.
final
customDialogBuilder WebDialogBuilder?
Builder to customize the cropper Dialog
final
customRouteBuilder WebRouteBuilder?
Builder to customize the cropper PageRoute
final
dragMode WebDragMode?
Define the dragging mode of the cropper.
final
guides bool?
Show the dashed lines above the crop box.
final
hashCode int
The hash code for this object.
no setterinherited
highlight bool?
Show the white modal above the crop box (highlight the crop box).
final
initialAspectRatio num?
Define the initial aspect ratio of the crop box. By default, it is the same as the aspect ratio of the canvas (image wrapper).
final
minContainerHeight num?
The minimum height of the container.
final
minContainerWidth num?
The minimum width of the container.
final
minCropBoxHeight num?
The minimum height of the crop box.
final
minCropBoxWidth num?
The minimum width of the crop box.
final
Show the black modal above the image and under the crop box.
final
movable bool?
Enable to move the image.
final
presentStyle WebPresentStyle
Presentation style of cropper, either a dialog or a page (route) Default = dialog
final
rotatable bool?
Enable to rotate the image.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scalable bool?
Enable to scale the image.
final
size CropperSize?
Display size of the cropper
final
themeData WebThemeData?
Control UI customization
final
toggleDragModeOnDblclick bool?
Enable to toggle drag mode between "crop" and "move" when clicking twice on the cropper.
final
translations WebTranslations?
Translations to display
final
viewwMode WebViewMode?
Define the view mode of the cropper.
final
wheelZoomRatio num?
Define zoom ratio when zooming the image by mouse wheeling.
final
zoomable bool?
Enable to zoom the image.
final
zoomOnTouch bool?
Enable to zoom the image by dragging touch.
final
zoomOnWheel bool?
Enable to zoom the image by mouse wheeling.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited