other property
Brightness
get
other
Gets the opposite brightness
Implementation
Brightness get other => isLight ? Brightness.dark : Brightness.light;
Gets the opposite brightness
Brightness get other => isLight ? Brightness.dark : Brightness.light;