StackRoute constructor

const StackRoute({
  1. required Widget child,
  2. required String route,
  3. void onPop()?,
  4. bool? persist,
  5. dynamic key,
})

Implementation

const StackRoute({
  required this.child,
  required this.route,
  this.onPop,
  this.persist,
  key,
}) : super(key: key);