Navigator constructor

const Navigator({
  1. required Widget child,
  2. Widget fallback = const Container([]),
  3. Animation? pushAnimation,
  4. Animation? popAnimation,
  5. String? key,
  6. Ref? ref,
})

Creates a new instance of Navigator.

Implementation

const Navigator({
  required this.child,
  this.fallback = const Container([]),
  this.pushAnimation,
  this.popAnimation,
  super.key,
  super.ref,
});