DeviceTypeConfig constructor
DeviceTypeConfig({
- required ScreenInfo screenInfo,
- required double designMinWidth,
- required double designMaxWidth,
- required double designMinHeight,
- required double designMaxHeight,
- required TargetDeviceType targetDeviceType,
Constructs a DeviceTypeConfig instance with the given parameters.
screenInfo provides information about the screen dimensions and orientation.
designMinWidth, designMaxWidth, designMinHeight, and designMaxHeight specify the
design dimensions for adaptation.
targetDeviceType specifies the target device type for adaptation.
Implementation
DeviceTypeConfig({
required this.screenInfo,
required this.designMinWidth,
required this.designMaxWidth,
required this.designMinHeight,
required this.designMaxHeight,
required this.targetDeviceType,
}) {
_initializeDeviceType();
}