FdcCounterStyle class

Visual style for text-length counters used by editors and grid cells.

Constructors

FdcCounterStyle({TextStyle? textStyle, Alignment alignment = Alignment.bottomRight, Offset offset = const Offset(0, -10), double height = 12})
Creates a FdcCounterStyle.
const

Properties

alignment → Alignment
Alignment of the counter within its available overlay area.
final
hashCode → int
The hash code for this object.
no setteroverride
height → double
Vertical extent reserved for the counter overlay.
final
offset → Offset
Positional offset applied after alignment is resolved.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textStyle → TextStyle?
Text style used to render the counter label.
final

Methods

copyWith({TextStyle? textStyle, Alignment? alignment, Offset? offset, double? height}) → FdcCounterStyle
Creates a copy with selected values replaced.
lerp(FdcCounterStyle other, double t) → FdcCounterStyle
Linearly interpolates this style toward other by t.
merge(FdcCounterStyle? override) → FdcCounterStyle
Merges non-null properties from override over this style.
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.
override