Breakpoints constructor

Breakpoints({
  1. BreakpointEntry xl = const BreakpointEntry(1920, enabled: false),
  2. BreakpointEntry lg = const BreakpointEntry(1440, enabled: true),
  3. BreakpointEntry md = const BreakpointEntry(1240, enabled: true),
  4. BreakpointEntry sm2 = const BreakpointEntry(905, enabled: true),
  5. BreakpointEntry sm1 = const BreakpointEntry(600, enabled: true),
})

Just overwrite the default values to create your own breakpoints

Breakpoint of 1920 is disabled by default

Implementation

Breakpoints({
  this.xl = const BreakpointEntry(1920, enabled: false),
  this.lg = const BreakpointEntry(1440, enabled: true),
  this.md = const BreakpointEntry(1240, enabled: true),
  this.sm2 = const BreakpointEntry(905, enabled: true),
  this.sm1 = const BreakpointEntry(600, enabled: true),
});