define method
路径与页匹配
Implementation
void define(String path, HandlerFunc handlerFunc,
{TransitionType? transitionType}) {
router.define(
path,
handler: Handler(handlerFunc: handlerFunc),
transitionType: transitionType,
);
}
路径与页匹配
void define(String path, HandlerFunc handlerFunc,
{TransitionType? transitionType}) {
router.define(
path,
handler: Handler(handlerFunc: handlerFunc),
transitionType: transitionType,
);
}