import 'package:eatvio_app/features/bottom_navigation_bar/presentation/bloc/notifications_cubit/notifications_cubit.dart'; import 'package:eatvio_app/features/bottom_navigation_bar/presentation/bloc/notifications_cubit/notifications_state.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; class NotificationsScreen extends StatelessWidget { const NotificationsScreen({super.key}); @override Widget build(BuildContext context) { return BlocBuilder( builder: (BuildContext context, NotificationsState state) { return Scaffold( appBar: AppBar( title: Text('Уведомления'), ), body: SingleChildScrollView( padding: EdgeInsets.all(16), child: Text( state is NotificationsStateLoaded ? state.notifications.toString() : 'Уведомлений нет', ), ), ); }, ); } }