title: Extending the base class of a flutter app
body: <p>Being new to Dart,  I am not sure how I could extend the class of my statefull widget. This is what one of my class looks like</p>
  
  <pre><code>class HomeState extends State&lt;Home&gt;
  {
  } 
  </code></pre>
  
  <p>What I would like to do is to make the HomeState class inherit some methods from my custom class. Which would be something like this</p>
  
  <pre><code>class CustomClass
  {
     void DisplayBusyDialog()
     {
           ......
     }
  }
  </code></pre>
  
  <p>I know in Dart like Java you cannot inherit from multiple class (unlike C++).
  My question is what would I need to do to have <code>HomeState</code> inherit from <code>CustomClass</code> ? Will my custom class need to inherit from StatefulWidget and then have <code>HomeState</code> class extend <code>CustomClass</code> ? what about the template State how do I handle that in my custom Class? Any suggestions would be appreciated ..</p>