of method

DialogTheme of (BuildContext context)

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

Implementation

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