D1APP-24 gesture disabled for changing page
This commit is contained in:
parent
c5799e915f
commit
33bcf52b08
|
|
@ -36,22 +36,19 @@ class _HomeState extends State<Home> with SingleTickerProviderStateMixin {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
body: DefaultTabController(
|
||||
length: 5,
|
||||
child: TabBarView(
|
||||
physics: const BouncingScrollPhysics(),
|
||||
controller: _tabController,
|
||||
children: [
|
||||
const News(),
|
||||
const Statictics(),
|
||||
ChangeNotifierProvider<RadarState>(
|
||||
create: (context) => RadarState(),
|
||||
child: const Radar(),
|
||||
),
|
||||
const Studio(),
|
||||
const Profile(),
|
||||
],
|
||||
),
|
||||
body: TabBarView(
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
controller: _tabController,
|
||||
children: [
|
||||
const News(),
|
||||
const Statictics(),
|
||||
ChangeNotifierProvider<RadarState>(
|
||||
create: (context) => RadarState(),
|
||||
child: const Radar(),
|
||||
),
|
||||
const Studio(),
|
||||
const Profile(),
|
||||
],
|
||||
),
|
||||
bottomNavigationBar: Consumer<HomeState>(
|
||||
builder: (context, state, child) => DidvanBNB(
|
||||
|
|
|
|||
Loading…
Reference in New Issue