navihate to notificatons when after click on push notification

This commit is contained in:
amirrezaghabeli
2025-09-24 09:02:17 +03:30
parent f630c0d0ab
commit 576a099c56
5 changed files with 75 additions and 12 deletions
+6 -5
View File
@@ -6,15 +6,16 @@ import 'package:tm_app/views/splash/pages/m_splash_page.dart';
import 'package:tm_app/views/splash/pages/t_splash_page.dart';
class SplashScreen extends StatelessWidget {
const SplashScreen({super.key});
const SplashScreen({required this.navigateToNotification, super.key});
final bool navigateToNotification;
@override
Widget build(BuildContext context) {
SizeConfig.init(context);
return const ResponsiveBuilder(
mobile: MobileSplashPage(),
tablet: TabletSplashPage(),
desktop: DesktopSplashPage(),
return ResponsiveBuilder(
mobile: MobileSplashPage(navigateToNotification: navigateToNotification),
tablet: const TabletSplashPage(),
desktop: const DesktopSplashPage(),
);
}
}