of static method

SizeConfig of(
  1. BuildContext context, {
  2. bool detectScreen = true,
  3. DeviceConfig config = const DeviceConfig(),
  4. Size? size,
})

Implementation

static SizeConfig of(
  BuildContext context, {
  bool detectScreen = true,
  DeviceConfig config = const DeviceConfig(),
  Size? size,
}) {
  return SizeConfig(context, detectScreen, config, size);
}