diff --git a/lib/pages/home/home.dart b/lib/pages/home/home.dart index cfb7f07..94fb048 100644 --- a/lib/pages/home/home.dart +++ b/lib/pages/home/home.dart @@ -3,7 +3,6 @@ import 'package:didvan/pages/home/home_state.dart'; import 'package:didvan/pages/home/news/news.dart'; import 'package:didvan/pages/home/profile/profile.dart'; import 'package:didvan/pages/home/radar/radar.dart'; -import 'package:didvan/pages/home/radar/radar_state.dart'; import 'package:didvan/pages/home/statistics/statistics.dart'; import 'package:didvan/pages/home/studio/studio.dart'; import 'package:didvan/pages/home/widgets/bnb.dart'; @@ -36,15 +35,12 @@ class _HomeState extends State with SingleTickerProviderStateMixin { body: TabBarView( physics: const NeverScrollableScrollPhysics(), controller: _tabController, - children: [ - const News(), - const Statictics(), - ChangeNotifierProvider( - create: (context) => RadarState(), - child: const Radar(), - ), - const Studio(), - const Profile(), + children: const [ + News(), + Statictics(), + Radar(), + Studio(), + Profile(), ], ), bottomNavigationBar: Consumer(