maybeOf static method

PopupState? maybeOf(
  1. BuildContext context, {
  2. bool listen = true,
})

Implementation

static PopupState? maybeOf(BuildContext context, {bool listen = true}) {
  return Provider.of<PopupState?>(context, listen: listen);
}