19 lines
424 B
Dart
19 lines
424 B
Dart
import 'package:go_router/go_router.dart';
|
|
import 'package:solian/screens/account.dart';
|
|
import 'package:solian/screens/explore.dart';
|
|
|
|
final router = GoRouter(
|
|
routes: [
|
|
GoRoute(
|
|
path: '/',
|
|
name: 'explore',
|
|
builder: (context, state) => const ExploreScreen(),
|
|
),
|
|
GoRoute(
|
|
path: '/account',
|
|
name: 'account',
|
|
builder: (context, state) => const AccountScreen(),
|
|
),
|
|
],
|
|
);
|