spacing static method

String spacing(
  1. ProjectConfig c
)

Implementation

static String spacing(ProjectConfig c) {
  final v = c.spacingScale.scale;
  return '''
/// Spacing scale. Density: ${c.spacingScale.id}.
class AppSpacing {
AppSpacing._();

static const double xs = ${v[0]};
static const double sm = ${v[1]};
static const double md = ${v[2]};
static const double lg = ${v[3]};
static const double xl = ${v[4]};
static const double xxl = ${v[5]};
}
''';
}