WidgetPredicate typedef Null safety

bool WidgetPredicate(
  1. Widget widget
)

Signature for CommonFinders.byWidgetPredicate.

Implementation

typedef WidgetPredicate = bool Function(Widget widget);