HighlightStyle class

Visual customisation for one Highlighter call.

Constructors

HighlightStyle({Color color = const Color(0xFF3B82F6), double strokeWidth = 2.5, double cornerRadius = 14.0, double pulseAmplitudePx = 2.0, double inflatePx = 0.0})
const

Properties

color → Color
Stroke / fill colour of the indicator.
final
cornerRadius → double
Corner radius of the pulse RRect.
final
hashCode → int
The hash code for this object.
no setterinherited
inflatePx → double
Baseline inflation around the target rect.
final
pulseAmplitudePx → double
Unused — kept for source compatibility.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strokeWidth → double
Width of the pulse border, in logical pixels.
final

Methods

copyWith({Color? color, double? strokeWidth, double? cornerRadius, double? pulseAmplitudePx, double? inflatePx}) → HighlightStyle
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

Constants

blue → const HighlightStyle
green → const HighlightStyle
orange → const HighlightStyle
purple → const HighlightStyle
red → const HighlightStyle