ComicFocusRing class

The keyboard's focus ring: a width line gap outside the control's own outline, in color, which reads 3:1 on the page, card and control grounds.

Annotations

Constructors

ComicFocusRing({required Color color, double width = 3, double gap = 3})
Creates a ComicFocusRing.
const

Properties

color → Color
The ring's colour.
final
gap → double
The space between the control's outline and the ring.
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → double
The ring's line, in logical pixels.
final

Methods

copyWith({Color? color, double? width, double? gap}) → ComicFocusRing
This ring with the named values changed.
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

Static Methods

lerp(ComicFocusRing a, ComicFocusRing b, double t) → ComicFocusRing
The ring t of the way from a to b.