DrawerState constructor

const DrawerState({
  1. required DrawerInfo drawer,
  2. required DrawerRights rights,
  3. Shift? shift,
  4. bool? longOpenWarning,
  5. List<TipClaim> tipClaims = const [],
  6. List<ShiftTip> tips = const [],
  7. int? suggestedFloatCents,
  8. int? expectedCents,
  9. List<DrawerOpening>? recentOpenings,
  10. int? suggestedFromShiftNumber,
})

Implementation

const DrawerState({
  required this.drawer,
  required this.rights,
  this.shift,
  this.longOpenWarning,
  this.tipClaims = const [],
  this.tips = const [],
  this.suggestedFloatCents,
  this.expectedCents,
  this.recentOpenings,
  this.suggestedFromShiftNumber,
});