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