GlassAppearance constructor

GlassAppearance({
  1. Brightness system = Brightness.light,
})

An appearance starting from the system's, before any backdrop is read.

Implementation

GlassAppearance({Brightness system = Brightness.light}) : _system = system {
  _dark = system == Brightness.dark;
  _luma = _dark ? 0 : 1;
  _snap();
}