Breakpoints constructor
Breakpoints({
- BreakpointEntry xl = const BreakpointEntry(1920, enabled: false),
- BreakpointEntry lg = const BreakpointEntry(1440, enabled: true),
- BreakpointEntry md = const BreakpointEntry(1240, enabled: true),
- BreakpointEntry sm2 = const BreakpointEntry(905, enabled: true),
- 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),
});