Loose readers for bound values (what an expression gave). Each returns null for a value it can't read.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Methods
-
boolean(
Object? v) → bool? -
true/false, numbers (non-zero is true), and their text. -
color(
Object? v) → Color? -
#RRGGBB,#AARRGGBB,0xAARRGGBB,Color(0xAARRGGBB), an ARGB int, or a{r, g, b, a}map with 0–1 or 0–255 components. -
fontWeight(
Object? v) → int? -
100–900,
w700,bold,normal. -
insets(
Object? v) → EdgeInsets? -
A number (every side),
[horizontal, vertical],[l, t, r, b], or a map of sides ({"top": 44},{"horizontal": 8}). -
number(
Object? v) → double? - A finite number, or numeric text.
-
paint(
Object? v, Paint? current) → Paint? -
A paint: a paint's JSON, an image URL (an image that covers the
node), or a color (solid; the paint keeps
current's id). -
radius(
Object? v) → BorderRadius? -
A number (every corner),
[x, y](every corner elliptical) or[topLeft, topRight, bottomRight, bottomLeft], each a number or[x, y]. -
text(
Object? v) → String? - Text: scalars as text; lists and maps aren't.
-
textDecoration(
Object? v) → String? -
none,underline,overline,lineThrough(strikethrough), or true (struck through) / false (none).