Page<T> constructor Null safety

const Page<T>(
  1. {LocalKey? key,
  2. String? name,
  3. Object? arguments,
  4. String? restorationId}
)

Creates a page and initializes key for subclasses.

The arguments argument must not be null.

Implementation

const Page({
  this.key,
  super.name,
  super.arguments,
  this.restorationId,
});