applyPreset abstract method
void
applyPreset(
- LightingPreset preset, {
- Duration duration = const Duration(milliseconds: 900),
- Curve curve = Curves.decelerate,
Applies an ambient preset, fading the ambient color smoothly.
Implementation
void applyPreset(
LightingPreset preset, {
Duration duration = const Duration(milliseconds: 900),
Curve curve = Curves.decelerate,
});