TrimEditorProperties class
Constructors
-
TrimEditorProperties({double circleSize = 5.0, double circleSizeOnDrag = 8.0, double borderWidth = 3.0, double scrubberWidth = 1.0, double borderRadius = 4.0, Color circlePaintColor = Colors.white, Color borderPaintColor = Colors.white, Color scrubberPaintColor = Colors.white, int sideTapSize = 24})
-
Helps defining the Trim Editor properties.
const
Properties
-
borderPaintColor
→ Color
-
For specifying a color to the border of
the trim area.
final
-
borderRadius
→ double
-
For specifying a circular border radius
to the corners of the trim area.
final
-
borderWidth
→ double
-
For specifying the width of the border around
the trim area. By default it is set to
3
.
final
-
circlePaintColor
→ Color
-
For specifying a color to the circle.
final
-
circleSize
→ double
-
For specifying a size to the holder at the
two ends of the video trimmer area, while it is
idle
.
final
-
circleSizeOnDrag
→ double
-
For specifying a size to the holder at
the two ends of the video trimmer area, while it is being
dragged
.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
scrubberPaintColor
→ Color
-
For specifying a color to the video
scrubber inside the trim area.
final
-
scrubberWidth
→ double
-
For specifying the width of the video scrubber
final
-
sideTapSize
→ int
-
Determines the touch size of the side handles, left and right. The rest, in
the center, will move the whole frame if
maxVideoLength
is inferior to the
total duration of the video.
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