SceneStyleField class

One property a SceneTextStyle may set: the property table's name for it, and how to read it off a style.

SceneTextStyle.values, equality and the emitter's inherit test all walk this list, so a field missing from it does not exist as far as sharing is concerned — which is why scene_props_test.dart pins it to the table's text rows in both directions. A const object cannot compute a map from its own parameters, so the fields stay fields and this is what makes them one organ anyway.

Constructors

SceneStyleField(String name, Object? read(SceneTextStyle style))
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
final
read → Object? Function(SceneTextStyle style)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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