DeviceConfig constructor

const DeviceConfig({
  1. DimensionScaleMode scaleMode = DimensionScaleMode.minimum,
  2. Device watch = const Device.watch(),
  3. Device mobile = const Device.mobile(),
  4. Device tablet = const Device.tablet(),
  5. Device laptop = const Device.laptop(),
  6. Device desktop = const Device.desktop(),
  7. Device tv = const Device.tv(),
})

Constructs a new instance of DeviceConfig.

The parameters mobile, tablet, laptop, desktop, and tv represent configurations for different types of devices.

Implementation

const DeviceConfig({
  this.scaleMode = DimensionScaleMode.minimum,
  this.watch = const Device.watch(),
  this.mobile = const Device.mobile(),
  this.tablet = const Device.tablet(),
  this.laptop = const Device.laptop(),
  this.desktop = const Device.desktop(),
  this.tv = const Device.tv(),
});