I'm trying to call an animation (which I got), but I want it after finalizing, forward to another page. How do I do the routing system or how can I get the animation to finish and call the other screen?
return Scaffold(
body: Stack(
children: <Widget>[
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Container(
width: 400,
height: 400,
alignment: Alignment.center,
child: FlareActor(
"assets/animations/LoadingM.flr",
alignment: Alignment.center,
fit: BoxFit.contain,
color: Colors.blue,
animation: _animationL,
),
),
],
)
],
)
],
),
);
}
}