lukepighetti / fluro

Fluro is a Flutter routing library that adds flexible routing options like wildcards, named parameters and clear route definitions.

Home Page:https://pub.dev/packages/fluro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

plz update the example with null safety

samithe7 opened this issue · comments

}The argument type 'Widget? Function(BuildContext, Map<String, List>)' can't be assigned to the parameter type 'Widget? Function(BuildContext?, Map<String, List>)'.

Handler defaultHandler = Handler(
    handlerFunc: (BuildContext? context, Map<String, List<String>> params) {
  return YourPageComponent();
});