WidgetPredicate typedef Null safety

WidgetPredicate = bool Function(Widget widget)

Signature for CommonFinders.byWidgetPredicate.

Implementation

typedef WidgetPredicate = bool Function(Widget widget);