of static method

DevbarState? of(
  1. BuildContext context
)

Implementation

static DevbarState? of(BuildContext context) {
  return context.findAncestorStateOfType<DevbarState>();
}