adaptive property
set
adaptive
(bool value)
Whether the appearance follows the backdrop. When false, it keeps the system's, and only the glass's colors follow the backdrop's luma.
Implementation
set adaptive(bool value) {
if (value == _adaptive) {
return;
}
_adaptive = value;
if (!_sampled) {
_dark = _system == Brightness.dark;
_snap();
} else {
_decide();
_aim();
}
}