colorScheme property

ColorScheme get colorScheme

Returns the colorScheme of the current context, shorthand for Theme.of(context).colorScheme

Implementation

ColorScheme get colorScheme => Theme.of(this).colorScheme;