FSCustomBreakpoints constructor

const FSCustomBreakpoints({
  1. double xs = FSBreakpoints.xs,
  2. double sm = FSBreakpoints.sm,
  3. double md = FSBreakpoints.md,
  4. double lg = FSBreakpoints.lg,
  5. double xl = FSBreakpoints.xl,
  6. double xxl = FSBreakpoints.xxl,
})

Implementation

const FSCustomBreakpoints({
  this.xs = FSBreakpoints.xs,
  this.sm = FSBreakpoints.sm,
  this.md = FSBreakpoints.md,
  this.lg = FSBreakpoints.lg,
  this.xl = FSBreakpoints.xl,
  this.xxl = FSBreakpoints.xxl,
})  : assert(xs >= 0 && sm >= 0 && md >= 0 && lg >= 0 && xl >= 0 && xxl >= 0,
          'Breakpoint values must be non-negative'),
      assert(xs < sm && sm < md && md < lg && lg < xl && xl < xxl,
          'Breakpoints must be in ascending order');