setUp static method

void setUp({
  1. Color? primary,
  2. Color? secondPrimary,
})

Implementation

static void setUp({Color? primary, Color? secondPrimary}) {
  if (primary != null) primaryColor = primary;
  if (secondPrimary != null) secondPrimaryColor = secondPrimary;
}