WebUiSettings class

Inheritance

Constructors

WebUiSettings({required BuildContext context, CropperPresentStyle presentStyle = CropperPresentStyle.dialog, CropperDialogBuilder? customDialogBuilder, CropperRouteBuilder? customRouteBuilder, CroppieBoundary? boundary, CroppieViewPort? viewPort, String? customClass, bool? enableExif, bool? enableOrientation, bool? enableZoom, bool? enableResize, bool? enforceBoundary, bool? mouseWheelZoom, bool? showZoomer, Color? barrierColor, WebTranslations? translations})

Properties

barrierColor Color?
Barrier color for displayed Dialog
final
boundary CroppieBoundary?
The outer container of the cropper Default = { width: 500, height: 500 }
final
context BuildContext
Current BuildContext The context is required to show cropper dialog or route
final
customClass String?
A class of your choosing to add to the container to add custom styles to your croppie Default = ''
final
customDialogBuilder CropperDialogBuilder?
Builder to customize the cropper Dialog
final
customRouteBuilder CropperRouteBuilder?
Builder to customize the cropper PageRoute
final
enableExif bool?
Enable exif orientation reading. Tells Croppie to read exif orientation from the image data and orient the image correctly before rendering to the page. Requires exif.js (packages/croppie_dart/lib/src/exif.js)
final
enableOrientation bool?
Enable or disable support for specifying a custom orientation when binding images Default = true
final
enableResize bool?
Enable or disable support for resizing the viewport area. Default = false
final
enableZoom bool?
Enable zooming functionality. If set to false - scrolling and pinching would not zoom. Default = false
final
enforceBoundary bool?
Restricts zoom so image cannot be smaller than viewport. Experimental Default = true
final
hashCode int
The hash code for this object.
no setterinherited
mouseWheelZoom bool?
Enable or disable the ability to use the mouse wheel to zoom in and out on a croppie instance Default = true
final
presentStyle CropperPresentStyle
Presentation style of cropper, either a dialog or a page (route) Default = dialog
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showZoomer bool?
Hide or Show the zoom slider. Default = true
final
translations WebTranslations?
Translations to display
final
viewPort CroppieViewPort?
The inner container of the coppie. The visible part of the image. Default = { width: 400, height: 400, type: 'square' } Valid type values:'square' 'circle'
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