You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
625 B
30 lines
625 B
import 'package:get/get.dart';
|
|
|
|
import 'index.dart';
|
|
import 'route.name.dart';
|
|
|
|
class PublicRoute {
|
|
static GetPage notFound = GetPage(
|
|
name: PublicRoutes.notFound,
|
|
page: () => const PageNotFound(),
|
|
);
|
|
|
|
static List<GetPage> routes = [
|
|
notFound,
|
|
GetPage(
|
|
name: PublicRoutes.home,
|
|
page: () => const HomePage(),
|
|
binding: HomeBinding(),
|
|
),
|
|
GetPage(
|
|
name: PublicRoutes.work,
|
|
page: () => const WorkPage(),
|
|
binding: WorkBinding(),
|
|
),
|
|
GetPage(
|
|
name: PublicRoutes.center,
|
|
page: () => const CenterPage(),
|
|
binding: CenterBinding(),
|
|
),
|
|
];
|
|
}
|