XBreakpointsData constructor
const
XBreakpointsData({
- XBreakpoint? mobile,
- XBreakpoint? tablet,
- XBreakpoint? desktop,
- XBreakpoint? infinity,
Implementation
const XBreakpointsData({
final XBreakpoint? mobile,
final XBreakpoint? tablet,
final XBreakpoint? desktop,
final XBreakpoint? infinity,
}) : _mobile = mobile ??
const XBreakpoint(
minWidth: XStandardSizes.zero,
maxWidth: XAuxiliarySizes.x599,
),
_tablet = tablet ??
const XBreakpoint(
minWidth: XAuxiliarySizes.x600,
maxWidth: XAuxiliarySizes.x1023,
),
_desktop = desktop ??
const XBreakpoint(
minWidth: XStandardSizes.x1024,
maxWidth: XAuxiliarySizes.x1439,
),
_infinity = infinity ??
const XBreakpoint(
minWidth: XAuxiliarySizes.x1440,
maxWidth: double.infinity,
);