theme property
ThemeData
get
theme
The theme used to color messages.
Implementation
static ThemeData get theme => Theme.of(navigatorKey.currentContext!);
The theme used to color messages.
static ThemeData get theme => Theme.of(navigatorKey.currentContext!);