title: Flutter Keyboard Detect Visibility
body: <p>I want to detect if the keyboard is visible. I could implement the hacks that were suggested on other stackoverlfow threads: </p>
  
  <p>bool keyboardvisible = MediaQuery.of(context).viewInsets.bottom > 0;</p>
  
  <p>and this works for Android, but on iOS this bottom property always seems to return 0, no matter if the keyboard is visible or not.</p>
  
  <p>Is there any better approach to detect keyboard visibility that actually works on both platforms? </p>
  
  <p>Thnx
  John</p>