PathRouterListener<T> constructor
const
PathRouterListener<T> ({
- required String path,
- PushEventCallback? onPush,
- PopEventCallback<
T> ? onPop, - Widget? child,
- Key? key,
Creates a PathRouterListener.
Implementation
const PathRouterListener({
required String path,
PushEventCallback? onPush,
PopEventCallback<T>? onPop,
Widget? child,
Key? key,
}) : _path = path,
super(onPush: onPush, onPop: onPop, child: child, key: key);