ListenableBuilder class

Inheritance
Implementers

Constructors

ListenableBuilder.new({Key? key, required Listenable listenable, required Iterable<Component> builder(BuildContext)})
Creates a widget that rebuilds when the given listenable changes.
const

Properties

builder Iterable<Component> Function(BuildContext)
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one component replaces another component in the tree.
finalinherited
listenable Listenable
The Listenable to which this widget is listening.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createElement() Element
Creates a StatefulElement to manage this component's location in the tree.
inherited
createState() State<ListenableBuilder>
Subclasses typically do not override this method.
override
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