ModalArgsBuilder<P extends RouteParams> typedef

ModalArgsBuilder<P extends RouteParams> = P Function(ScrollController? controller)

Passes the ScrollController to the route args

Implementation

typedef ModalArgsBuilder<P extends RouteParams> = P Function(
    ScrollController? controller);