[Flutter/플러터] Hero Animation
Hero Animation class MainScreen extends StatelessWidget { const MainScreen({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text("Main Screen"), ), body: GestureDetector( child: Hero( tag: "imageHero", child: Image.network("https://picsum.photos/250?image=9"), ), onTap: () { Navigator.push(context, MaterialPageRoute(builder: (_..