VoyagerWidget constructor Null safety

const VoyagerWidget(
  1. {required String path,
  2. bool keepAlive,
  3. VoyagerRouter? router,
  4. VoyagerArgument? argument,
  5. Key? key}
)

default constructor

Implementation

const VoyagerWidget(
    {required this.path,
    this.keepAlive = false,
    this.router,
    this.argument,
    Key? key})
    : super(key: key);