getIfNotZero method

int? getIfNotZero(
  1. LayoutSize layoutSize
)

Implementation

int? getIfNotZero(LayoutSize layoutSize) {
  final value = get(layoutSize);
  if (value == 0) return null;
  return value;
}