2024-05-11 13:06:58 +03:00

24 lines
955 B
Dart

// ignore_for_file: override_on_non_overriding_member
import 'package:flutter_modular/flutter_modular.dart';
import 'package:near_pay_app/presantation/modules/home/pages/core/create_wallet_page.dart';
import 'package:near_pay_app/presantation/modules/home/pages/core/crypto_actions_page.dart';
import 'package:near_pay_app/presantation/modules/home/pages/core/home_page.dart';
import 'package:near_pay_app/presantation/routes/routes.dart';
<<<<<<< HEAD
=======
>>>>>>> dfa4b98bee355a1c88fba68c63fd3df725aef5d0
class HomeModule extends Module {
@override
final List<ModularRoute> route = [
ChildRoute(Modular.initialRoute, child: (context) => const HomePage()),
ChildRoute(Routes.home.startPage, child: (context) => const HomePage()),
ChildRoute(Routes.home.actions, child: (context) => const CryptoActionsPage()),
ChildRoute(Routes.home.login, child: (context) => const CreateWalletPage()),
// Add more routes as needed
];
}