inverseSurface property Null safety

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.

Implementation

Color get inverseSurface => _inverseSurface ?? onSurface;