title: The argument type 'jsObject' can't be assigned to 'buildContext' parameter?
body: <p>that error happen when i tried putting a method that need to take buildcontext as an argument in floating action button widget.</p>
  
  <p>I tried moving the same method to different widgets that have builders and it worked fine so why don't the FA button have the parent context ?
  here is where it happens:</p>
  
  <pre><code>runApp(MaterialApp(
        debugShowCheckedModeBanner: false,
        home: Scaffold(
            appBar: AppBar(
              title: Text('policies list'),
            ),
            body: getList(),
            floatingActionButton: FloatingActionButton(
              child: Icon(Icons.add),
              onPressed: () =&gt; showSB(context),
            ))));`
  </code></pre>