WidgetBuilderDeclaration class

Representation of functions that return widgets in Remote Flutter Widgets library blobs.

Inheritance

Constructors

WidgetBuilderDeclaration(String argumentName, BlobNode widget)
Represents a callback that takes a single argument argumentName and returns the widget.
const

Properties

argumentName String
The callback single argument name.
final
hashCode int
The hash code for this object.
no setterinherited
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
widget BlobNode
The widget that will be returned when the builder callback is called.
final

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