WidgetTypeFilter<W extends Widget> class
Filters candidates by widget type W
comparing the runtime type.
Comparing the runtimeType makes sure that spot<Align>()
does not accidentally match a Center Widget, that extends Align.
- Implemented types
Constructors
Properties
- description → String
-
A description to describe the filter
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
filter(
Iterable< WidgetTreeNode> candidates) → Iterable<WidgetTreeNode> -
Filters all candidates, retuning only a subset that matches
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited