NestedScrollConsumer typedef

NestedScrollConsumer = NestedScrollListener? Function(NestedScrollConnection connection)

Signature for the callback that returns a NestedScrollListener which handles nested scroll consumption logic based on the connection.

Implementation

typedef NestedScrollConsumer = NestedScrollListener? Function(
  NestedScrollConnection connection,
);