ignoreNextTap static method

void ignoreNextTap(
  1. BuildContext context
)

Used internally by IgnoreKeyboardDismiss to notify this Widget to ignore the next tap.

Implementation

static void ignoreNextTap(BuildContext context) {
  context
      .dependOnInheritedWidgetOfExactType<
          _KeyboardDismissOnTapInheritedWidget>()!
      .ignoreNextTap();
}