fromThemeGeneratorParameters static method

IconTheme fromThemeGeneratorParameters(
  1. ThemeGeneratorParameters parameters
)

Implementation

static IconTheme fromThemeGeneratorParameters(
  ThemeGeneratorParameters parameters,
) {
  return IconTheme(
    defaultColor: HSLColor.fromColor(parameters.primaryColor)
        .multiplySaturation(0.95)
        .toColor(),
  );
}