instance property

ScreenUtil get instance

Implementation

static ScreenUtil get instance {
  if (_instance == null) {
    throw Exception(
      'ScreenUtil not initialized. Call ScreenUtil.init(context) first.',
    );
  }
  return _instance!;
}