RouterListener<T extends Object?> constructor
const
RouterListener<T extends Object?> ({
- PushEventCallback? onPush,
- PopEventCallback<
T> ? onPop, - ReplaceEventCallback<
Object?> ? onReplace, - Widget? child,
- Key? key,
Creates a RouterListener.
Implementation
const RouterListener({
this.onPush,
this.onPop,
this.onReplace,
this.child,
Key? key,
}) : super(key: key);