inverseSurface property

Color inverseSurface

A surface color used for displaying the reverse of what’s seen in the surrounding UI, for example in a SnackBar to bring attention to an alert. Defaults to surface as fallback.

Implementation

Color get inverseSurface => _inverseSurface ?? surface;