TrimAreaProperties class
Constructors
TrimAreaProperties ({BoxFit thumbnailFit = BoxFit.fitHeight , int thumbnailQuality = 75 , bool blurEdges = false , Color blurColor = Colors.black , Widget ? startIcon , Widget ? endIcon , double borderRadius = 4.0 })
Helps defining the Trim Area properties.
const
TrimAreaProperties.edgeBlur ({BoxFit thumbnailFit , int thumbnailQuality , bool blurEdges , Color blurColor , Widget ? startIcon , Widget ? endIcon , double borderRadius })
Helps defining the Trim Area properties with blur & arrows on the edges.
factory
TrimAreaProperties.fixed ({BoxFit thumbnailFit , int thumbnailQuality , double borderRadius })
Helps defining the Fixed Trim Area properties.
factory
Properties
blurColor
→ Color
For specifying the color of the blur. Use the color of the
background to blend with it.
final
blurEdges
→ bool
For adding a blur to the trim area edges. Use blurColor
for specifying the color of the blur (usually it's the
background color which helps in blending).
final
borderRadius
→ double
For specifying the size of the circular border radius
to be applied to each corner of the trimmer area Container.
final
endIcon
→ Widget ?
For specifying the widget to be placed at the end
of the trimmer area. You can pass null
for hiding
the widget.
final
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
startIcon
→ Widget ?
For specifying the widget to be placed at the start
of the trimmer area. You can pass null
for hiding
the widget.
final
thumbnailFit
→ BoxFit
For defining the image fit type of each thumbnail image.
final
thumbnailQuality
→ int
For specifying the quality of each
generated image thumbnail, to be displayed in the trimmer
area.
final
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited