RefValue class
A reference such as Colors.blue, CrossAxisAlignment.start,
AppTheme.light or kPadding.
resolved holds the analyzed declaration when one is statically known:
the initializer of any const (following into Flutter's own source, so
Colors.blue carries MaterialColor(0xFF2196F3, {...})), or, for
declarations in the analyzed project, the initializer of a final/var
or the returned expression of a getter.
Constructors
Properties
- dotted → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- inProject → bool
-
Declared in the analyzed project (not the SDK or a package), e.g.
AppColors.brand. Such references are the app's own design tokens.final - last → String
-
no setter
-
path
→ List<
String> -
final
- resolved → DartValue?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String?
-
relative/path.dart:lineof the expression.finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited