How do I add animation to my existing routes?
child: MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Home',
home: Home(),
onGenerateInitialRoutes: ,
routes: {
SettingsScreen.routeName: (ctx) => SettingsScreen(),
AboutScreen.routeName: (ctx) => AboutScreen(),
},
From what I search so far, it looks like I have to implement onGenerateRoute
Does this mean I have to remove my current routes setting?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…