ChangePage.prev constructor Null safety

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

Implementation

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