SizeConfig constructor
SizeConfig(
- BuildContext context, [
- bool detectScreen = true,
- DeviceConfig config = const DeviceConfig(),
- Size? _requireSize,
Implementation
SizeConfig(
this.context, [
this.detectScreen = true,
this.config = const DeviceConfig(),
this._requireSize,
]) : screenSize = MediaQuery.of(context).size;