DeviceConfig constructor
const
DeviceConfig({})
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(),
});