TrimSliderStyle class

Constructors

TrimSliderStyle({Color background = Colors.black54, Color positionLineColor = Colors.white, double positionLineWidth = 4, Color lineColor = Colors.white60, Color onTrimmingColor = kDefaultSelectedColor, Color onTrimmedColor = kDefaultSelectedColor, double lineWidth = 2, double borderRadius = 5.0, TrimSliderEdgesType edgesType = TrimSliderEdgesType.bar, double? edgesSize, Color iconColor = Colors.black, double iconSize = 16, IconData? leftIcon = Icons.arrow_back_ios_rounded, IconData? rightIcon = Icons.arrow_forward_ios_rounded})
Style for TrimSlider. It's use on VideoEditorController
const

Properties

background Color
The background param specifies the color of the paint area outside the trimmed area
final
borderRadius double
The borderRadius param specifies the border radius around the trimmer
final
edgesSize double
The edgesSize param specifies the size of the edges behind the icons
final
edgesType TrimSliderEdgesType
The edgesType param specifies the style to apply to the edges (left & right) of the trimmer
final
edgeWidth double
Returns left and right line width depending on edgesType
no setter
hashCode int
The hash code for this object.
no setterinherited
iconColor Color
The iconColor param specifies the color of the icons on the trimmed area's edges
final
iconSize double
The iconSize param specifies the size of the icon on the trimmed area's edges
final
leftIcon IconData?
The leftIcon param specifies the icon to show on the left edge of the trimmed area
final
lineColor Color
The lineColor param specifies the color of the borders around the trimmed area
final
lineWidth double
The lineWidth param specifies the width of the borders around the trimmed area
final
onTrimmedColor Color
The onTrimmedColor param specifies the color of the borders around the trimmed area when the trimmed parameters are not default values
final
onTrimmingColor Color
The onTrimmingColor param specifies the color of the borders around the trimmed area while it is getting trimmed
final
positionLineColor Color
The positionLineColor param specifies the color of the line showing the video position
final
positionLineWidth double
The positionLineWidth param specifies the width of the line showing the video position
final
rightIcon IconData?
The rightIcon param specifies the icon to show on the right edge of the trimmed area
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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