FolderViewLineTheme class
Defines the visual appearance of connection lines in a FolderView
- Annotations
Constructors
- FolderViewLineTheme({required Color lineColor, double lineWidth = 1.5, LineStyle lineStyle = LineStyle.connector})
-
Creates a FolderViewLineTheme with the given properties
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- lineColor → Color
-
The color of the connection lines
final
- lineStyle → LineStyle
-
The line style (connector, scope, or none)
final
- lineWidth → double
-
The width/thickness of the connection lines
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strokeCap → StrokeCap
-
The stroke cap is always round for smooth line endings
no setter
Methods
-
copyWith(
{Color? lineColor, double? lineWidth, LineStyle? lineStyle}) → FolderViewLineTheme - Creates a copy of this theme with the given fields replaced with new values
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
lerp(
FolderViewLineTheme? a, FolderViewLineTheme? b, double t) → FolderViewLineTheme - Linearly interpolate between two FolderViewLineThemes
-
lerpDouble(
double a, double b, double t) → double - Linear interpolation helper for doubles