INNER CODE UNIT · Dart
_TabNavigationState
fmtjava/Flutter_Eyepetizer · lib/navigation/tab_navigation.dart:17
class _TabNavigationState extends State<TabNavigation> {
PageController _pageController = PageController();
DateTime lastTime;
@override
Widget build(BuildContext context) {
return WillPopScope(
child: Scaffold(
body: PageView(
controller: _pageController,
physics: NeverScrollableScrollPhysics(),
children: <Widget>[
HomePage(),
DiscoveryPage(),
RankPage(),
MinePage()
],
),