title: How to get Activity and Context in Flutter plugin
body: <p>One of my package need to access <code>Context</code> and I got it from <code>onAttachedToEngine</code> -> <code>flutterPluginBinding.getApplicationContext()</code> to a variable but this crash the app with <code>NullPointerException</code>. The reason is I think I am trying to use the <code>Context</code> before it is assigning to the variable.</p>
  
  <p>What is the correct way to access the <code>Context</code>?</p>
  
  <p>And how can I get the <code>Activity</code> if I wanted too?</p>