jeudi 24 décembre 2020

Can I declare a (Flutter Modular) ModularRouter without define a route?

I am creating a website using Flutter with Modular and I need to create custom links for my clients. Can I create a ModularRouter without defining a RouterName?

currently I'm creating that:

ModularRouter(
      'customerLink',
      child: (context, args) => CheckinRouterManagerPage(),
      transition: TransitionType.noTransition,
    ),

I would like creating then

ModularRouter(
          any,
          child: (context, args) => CheckinRouterManagerPage(),
          transition: TransitionType.noTransition,
        ),



Aucun commentaire:

Enregistrer un commentaire