2024-04-12 16:38:20 +00:00
|
|
|
import 'package:go_router/go_router.dart';
|
2024-04-13 16:03:50 +00:00
|
|
|
import 'package:solian/screens/account.dart';
|
2024-04-12 16:38:20 +00:00
|
|
|
import 'package:solian/screens/explore.dart';
|
|
|
|
|
|
|
|
final router = GoRouter(
|
|
|
|
routes: [
|
|
|
|
GoRoute(
|
|
|
|
path: '/',
|
|
|
|
name: 'explore',
|
|
|
|
builder: (context, state) => const ExploreScreen(),
|
|
|
|
),
|
2024-04-13 16:03:50 +00:00
|
|
|
GoRoute(
|
|
|
|
path: '/account',
|
|
|
|
name: 'account',
|
|
|
|
builder: (context, state) => const AccountScreen(),
|
|
|
|
),
|
2024-04-12 16:38:20 +00:00
|
|
|
],
|
|
|
|
);
|