Skip to content

Instantly share code, notes, and snippets.

@webianks
Created August 22, 2019 08:06
Show Gist options
  • Save webianks/27ea70235ae6df41950c6a7f46a04c06 to your computer and use it in GitHub Desktop.
Save webianks/27ea70235ae6df41950c6a7f46a04c06 to your computer and use it in GitHub Desktop.
phoneNumberFocusNode.addListener(() {
bool hasFocus = searchData.phoneNumberFocusNode.hasFocus;
if (hasFocus)
showOverlay(context);
else
removeOverlay();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment