GlyphHint class
One icon / image / text / fill drawn on screen, collected at capture time so the normalizer can (a) name an icon-only tappable and (b) tell which item of a custom tab row is drawn differently (the selected one).
rect is in root logical pixels — the same space as RawNode.bounds.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → GlyphKind
-
final
- name → String
-
Derived human name (GlyphKind.icon / GlyphKind.image only), or ''.
final
- rect → Rect
-
final
- round → bool
-
GlyphKind.fill / GlyphKind.outline only: the decoration is drawn as
a circle (
BoxShape.circle, aCircleBorder, or corner radii of at least half its shorter side) — what a custom radio indicator looks like.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollRect → Rect?
-
Rect (root logical px) of the nearest
Scrollablethis glyph was drawn inside, or null when it is not scrolling content. Lets the normalizer ignore content scrolling UNDER an overlaid nav bar.final - state → String
-
on/offwhen an asset name carried an explicit state suffix (_active/_inactive…), else ''.final - style → Object?
-
An equality-comparable style token (colors, weights, sizes, opacity).
Compared with
==only — never stringified.final
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