getWithFallback method

double getWithFallback(
  1. FlexStyleEdge spacingType,
  2. FlexStyleEdge fallbackType
)

Implementation

double getWithFallback(
    FlexStyleEdge spacingType, FlexStyleEdge fallbackType) {
  return (_valueFlags & kFlags[spacingType.index]) != 0
      ? _spacing[spacingType.index]
      : get(fallbackType);
}