SchemeNeutral constructor
SchemeNeutral({ - required Hct sourceColorHct,
- required bool isDark,
- required double contrastLevel,
})
Implementation
SchemeNeutral({
required Hct sourceColorHct,
required super.isDark,
required super.contrastLevel,
}) : super(
sourceColorArgb: sourceColorHct.toInt(),
variant: Variant.neutral,
primaryPalette: TonalPalette.of(sourceColorHct.hue, 12.0),
secondaryPalette: TonalPalette.of(sourceColorHct.hue, 8.0),
tertiaryPalette: TonalPalette.of(sourceColorHct.hue, 16.0),
neutralPalette: TonalPalette.of(sourceColorHct.hue, 2.0),
neutralVariantPalette: TonalPalette.of(sourceColorHct.hue, 2.0),
);