of static method

DialogTheme of(
  1. BuildContext context
)

The data from the closest DialogTheme instance given the build context.

Implementation

static DialogTheme of(BuildContext context) {
  return Theme.of(context).dialogTheme;
}