TrimAreaProperties.fixed constructor
Helps defining the Fixed Trim Area properties.
A better look at the structure of the Trim Viewer:
All the parameters are optional:
-
thumbnailFit
for specifying the image fit type of each thumbnail image. By default it is set toBoxFit.fitHeight
. -
thumbnailQuality
for specifying the quality of each generated image thumbnail, to be displayed in the trimmer area. By default it is set to75
. -
borderRadius
for specifying the size of the circular border radius to be applied to each corner of the trimmer area Container. By default it is set to4.0
.
Implementation
factory TrimAreaProperties.fixed({
BoxFit thumbnailFit,
int thumbnailQuality,
double borderRadius,
}) = FixedTrimAreaProperties;