inverted property

Brightness get inverted

Implementation

Brightness get inverted {
  return this == Brightness.light ? Brightness.dark : Brightness.light;
}