use_function_type_syntax_for_parameters

Group: style

Maturity: stable

Linter v0.1.72

Since info is static, may be stale
recommendedflutterpedantic

View all Lint Rules

Using the Linter

Use generic function type syntax for parameters.

BAD:

Iterable<T> where(bool predicate(T element)) {}

GOOD:

Iterable<T> where(bool Function(T) predicate) {}