RouterListener<T extends Object?> constructor

const RouterListener<T extends Object?>({
  1. PushEventCallback? onPush,
  2. PopEventCallback<T>? onPop,
  3. ReplaceEventCallback<Object?>? onReplace,
  4. Widget? child,
  5. Key? key,
})

Creates a RouterListener.

Implementation

const RouterListener({
  this.onPush,
  this.onPop,
  this.onReplace,
  this.child,
  Key? key,
}) : super(key: key);