CoffeeConfig constructor
const
CoffeeConfig({
- bool enabled = true,
- CoffeeMode mode = CoffeeMode.blockApp,
- int minHour = 9,
- int? maxHour,
- CoffeeRoastLevel roastLevel = CoffeeRoastLevel.sarcastic,
- bool showOverlay = true,
- bool throwOnBlock = false,
- int? breakReminderMinutes,
- bool allowOverride = true,
- int overrideTTLMinutes = 60,
- Map<
CoffeeSituation, List< ? customMessages,String> >
Implementation
const CoffeeConfig({
this.enabled = true,
this.mode = CoffeeMode.blockApp,
this.minHour = 9,
this.maxHour,
this.roastLevel = CoffeeRoastLevel.sarcastic,
this.showOverlay = true,
this.throwOnBlock = false,
this.breakReminderMinutes,
this.allowOverride = true,
this.overrideTTLMinutes = 60,
this.customMessages,
});