title: AutoScroll to a offset in interactive viewer in flutter
body: <p>With the <code>Interactive viewer</code> documentation i came to know that we can autoscroll to a particular position in <code>Interactive viewer</code> with <code>toScene</code> method.But i tried but everything in vain.How to autoscroll to an offset given the positions in interactive viewer</p>
  <pre><code> import 'dart:async';
  
  import 'package:flutter/material.dart';
  import 'package:flutter/scheduler.dart';
  
  class MyPlanet extends StatefulWidget {
    @override
    _MyPlanetState createState() =&gt; _MyPlanetState();
  }
  
  class _MyPlanetState extends State&lt;MyPlanet&gt; {
    final TransformationController transformationController =
        TransformationController();
  
    @override
    void initState() {
      SchedulerBinding.instance.addPostFrameCallback((_) async {
        Timer(Duration(seconds: 5), () {
          setState(() {
            transformationController.value = Matrix4.identity()
              ..translate(800, 0.0);
            transformationController.toScene(Offset(800, 0.0));
          });
        });
      });
      super.initState();
    }
  
    @override
    Widget build(BuildContext context) {
      return InteractiveViewer(
        minScale: 0.5,
        maxScale: 1,
        constrained: false,
        transformationController: transformationController,
        child: Container(
          height: 896,
          width: 2000,
          child: Image.asset(
            'assets/images/rain_forest.png',
            fit: BoxFit.cover,
            height: double.infinity,
          ),
        ),
      );
    }
  }
  
  </code></pre>