init static method

dynamic init({
  1. ThemeColorType? primary,
  2. ThemeColorType? secondary,
  3. ThemeColorType? error,
})

Implementation

static init({
  ThemeColorType? primary,
  ThemeColorType? secondary,
  ThemeColorType? error,
}) {
  _primary = primary!;
  _secondary = secondary!;
  _error = error!;
}