BuildParameters class

A structure containing contextual objects for a Widget's build.

Constructors

BuildParameters(BuildContext context, WidgetNodeSpec spec, Map state, Map? parentContext)

Properties

actions → Map
no setter
context → BuildContext
The BuildContext from where the build function was triggered.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
no setter
parentContext → Map?
An optional Map containing contextual values. E.g. Lists will set an "entry" attribute as context, referring an element from the array of data.
final
props → Map
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spec → WidgetNodeSpec
The Model object representing the Widget Node.
final
state → Map
The existing state of the Screen from which the build was triggered.
final
widgets → Map
no setter

Methods

buildProp(String key, {dynamic argument}) → dynamic
Convenience method to resolve the value of a property.
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