PredicateFilter class

Filters widget tree nodes based on a predicate

Implemented types

Constructors

PredicateFilter({required bool predicate(Element), required String description})
Creates a super generic filter that filters based on a predicate.

Properties

description String
A description to describe the filter
final
hashCode int
The hash code for this object.
no setterinherited
predicate bool Function(Element)
The predicate function to evaluate.
final
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