HandlerFunc typedef Null safety

Widget? HandlerFunc (
  1. BuildContext? context,
  2. Map<String, List<String>> parameters
)

Builds out a screen based on string path parameters and context.

Note: you can access RouteSettings with the context.settings extension

Implementation

typedef Widget? HandlerFunc(
    BuildContext? context, Map<String, List<String>> parameters);