navihate to notificatons when after click on push notification
This commit is contained in:
@@ -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(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user