title: Flutter fade animation between page views
body: <p>I'm trying to find how to fade between PageView pages.</p>
  <p>This is my pageView:</p>
  <pre><code>PageView(
                    controller: controller,
                    children: [
                      Container(
                        decoration: BoxDecoration(
                          image: DecorationImage(
                              image: AssetImage(&quot;assets/image4.jpg&quot;),
                              fit: BoxFit.cover),
                        ),
                        child: Center(
                            child: Text(
                          'myText',
                          style: TextStyle(color: Colors.white, fontSize: 40.0),
                        )),
                      ),
                      Container(
                        decoration: BoxDecoration(
                          image: DecorationImage(
                              image: AssetImage(&quot;assets/image2.jpg&quot;),
                              fit: BoxFit.cover),
                        ),
                        child: Center(
                            child: Text(
                              'myText',
                              style: TextStyle(color: Colors.white, fontSize: 40.0),
                            )),
                      ),
                      Container(
                        decoration: BoxDecoration(
                          image: DecorationImage(
                              image: AssetImage(&quot;assets/image3.jpg&quot;),
                              fit: BoxFit.cover),
                        ),
                        child: Center(
                            child: Text(
                              'myText',
                              style: TextStyle(color: Colors.white, fontSize: 40.0),
                            )),
                      ),
                    ],
                  ),
  </code></pre>
  <p>Is it possible to implement a fade transition? I searched stack overflow but the only thing I could find was this package:
  <a href="https://pub.dev/packages/transformer_page_view#-readme-tab-" rel="nofollow noreferrer">https://pub.dev/packages/transformer_page_view#-readme-tab-</a></p>
  <p>The problem is that it hasn't a controller so my smoothPageIndactor wouldn't work. (<a href="https://pub.dev/packages/smooth_page_indicator" rel="nofollow noreferrer">https://pub.dev/packages/smooth_page_indicator</a>)</p>
  <p>Thanks!</p>