of static method

BackdropGroup? of(
  1. BuildContext context
)

Look up the nearest BackdropGroup, or null if there is not one.

Implementation

static BackdropGroup? of(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<BackdropGroup>();
}