ChangePage.next constructor Null safety

ChangePage.next(
  1. Item item,
  2. {Slot? slot}
)

Implementation

factory ChangePage.next(
  Item item, {
  Slot? slot,
}) =>
    ChangePage(1, item, slot: slot, mode: ChangePageMode.next);