WidgetBuilderArgReference class

Reference to the single argument of type DynamicMap passed into the widget builder.

This class is used to represent references to a function argument. In (scope) => Container(width: scope.width), this represents "scope.width".

See also:

Inheritance

Constructors

WidgetBuilderArgReference(String argumentName, List<Object> parts)
Wraps the given argumentName and parts as a WidgetBuilderArgReference.
const

Properties

argumentName String
A reference to a WidgetBuilderDeclaration.argumentName.
final
hashCode int
The hash code for this object.
no setterinherited
parts List<Object>
The components of the reference. Each entry must be either a String (to index into a DynamicMap) an integer (to index into a DynamicList).
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source SourceRange?
The source location that corresponds to this BlobNode, if known.
no setterinherited

Methods

associateSource(SourceRange source) → void
Assign a SourceRange to this BlobNode's source property.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
propagateSource(BlobNode? original) → void
Assign another BlobNode's SourceRange to this BlobNode's source property.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited