DesignSize constructor

const DesignSize({
  1. Size phone = defaultPhone,
  2. Size tablet = defaultTablet,
  3. Size desktop = defaultDesktop,
})

Creates a design size configuration.

If only phone is provided, tablet and desktop will use their defaults.

Implementation

const DesignSize({
  this.phone = defaultPhone,
  this.tablet = defaultTablet,
  this.desktop = defaultDesktop,
});