of method Null safety
- BuildContext context
The data from the closest DialogTheme instance given the build context.
Implementation
static DialogTheme of(BuildContext context) {
return Theme.of(context).dialogTheme;
}
The data from the closest DialogTheme instance given the build context.
static DialogTheme of(BuildContext context) {
return Theme.of(context).dialogTheme;
}