title: Flutter:Scrolling To Bottom Automatically when the screen opens
body: <p>I'm using onpressed() to scroll down to bottom of the List view,
  but i want to achieve that <strong>without Pressing</strong> the botton,</p>
  
  <p><strong>It must autoscroll for every screen opening.</strong>
  I tried to put it inside initState()
  its <strong>not working</strong> but if i press the button it wokrks</p>
  
  <p><strong>How to make it autoScroll?</strong></p>
  
  <p>Working code:</p>
  
  <pre><code> floatingActionButton: new FloatingActionButton(child: 
   Icon(Icons.arrow_downward),onPressed:_hola,)
  
  
  
  _hola(){
    print("inti state started successfully");
  controller1.animateTo(
  controller1.position.maxScrollExtent,
    duration: const Duration(milliseconds: 10),
     curve: Curves.easeOut,);
  }
  </code></pre>
  
  <p>Non Working Code:
      //This code prints successfully,but not really calling the function</p>
  
  <pre><code>class HomeState extends State&lt;MyNewMessages&gt; {
    @override
    void initState() 
  {
   super.initState();
    print("hola is scrolling");
    _hola;
  }
  );
  }
  </code></pre>
  
  <p><strong>Before Pressing Floating Button</strong>
  <a href="https://i.stack.imgur.com/VzUkA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/VzUkA.png" alt="Before Pressing Floating Button"></a>
  <strong>After Pressing Floating Button</strong>
  <a href="https://i.stack.imgur.com/HsrAV.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HsrAV.png" alt="After Pressing Floating Button"></a></p>