NumberProperty class Scene graph

A floating-point property. min/max lower to a Range, softMin/softMax to a SoftRange, and step to a Step.

Inheritance

Constructors

NumberProperty({double? min, double? max, double? softMin, double? softMax, double? step, String? group, List<String> formerNames = const [], bool transient = false, List<PropertyConstraint<num>> extra = const []})
const

Properties

extra → List<PropertyConstraint<num>>
Additional declared constraints beyond the named arguments.
final
formerNames → List<String>
Prior names of this property, accepted when loading older documents.
finalinherited
group → String?
The collapsible inspector section this property belongs to.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
max → double?
The hard inclusive upper bound.
final
min → double?
The hard inclusive lower bound.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
softMax → double?
The slider upper bound (presentation only).
final
softMin → double?
The slider lower bound (presentation only).
final
step → double?
The scrub/step increment.
final
transient → bool
Schema-visible but never persisted (runtime state, or code-provided).
finalinherited

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