colorScheme property

ColorScheme get colorScheme

Retrieves the color scheme used in the current theme of the given context using Theme.of(context).colorScheme.

Implementation

ColorScheme get colorScheme => theme.colorScheme;