mirror of
https://github.com/flutter/samples.git
synced 2026-06-03 04:48:50 +00:00
Migrate testing_app to go_router (#1541)
* add go_router * migrate testing_app to go_router
This commit is contained in:
@@ -7,7 +7,8 @@ import 'package:provider/provider.dart';
|
||||
import 'package:testing_app/models/favorites.dart';
|
||||
|
||||
class FavoritesPage extends StatelessWidget {
|
||||
static const routeName = '/favorites_page';
|
||||
static const routeName = 'favorites_page';
|
||||
static const fullPath = '/$routeName';
|
||||
|
||||
const FavoritesPage({super.key});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user