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