getSpacing static method

double? getSpacing(
  1. FSize spacing,
  2. FDirection direction,
  3. BuildContext context
)

Implementation

static double? getSpacing(
    FSize spacing, FDirection direction, BuildContext context) {
  final sp = spacing.get(
      context: context,
      isWidth: _getDirection(direction, context) == Axis.horizontal);
  return sp;
}