diff --git a/lib/openlp_remote_app.dart b/lib/openlp_remote_app.dart index 31034c4..fc6d013 100644 --- a/lib/openlp_remote_app.dart +++ b/lib/openlp_remote_app.dart @@ -14,14 +14,11 @@ class _OpenLPRemoteAppState extends State with SingleTickerProviderStateMixin { TabController tabController; SearchFloatingButton searchActionButton; - int tabBarIndex; @override void initState() { super.initState(); - tabBarIndex = 0; - tabController = - TabController(length: 2, vsync: this, initialIndex: tabBarIndex); + tabController = TabController(length: 2, vsync: this); searchActionButton = SearchFloatingButton(); } @@ -46,11 +43,6 @@ class _OpenLPRemoteAppState extends State Tab(text: 'SLIDES'), ], controller: tabController, - onTap: (index) { - setState(() { - tabBarIndex = index; - }); - }, ), ), floatingActionButton: searchActionButton, diff --git a/lib/screens/service_screen.dart b/lib/screens/service_screen.dart index e69de29..4d2a28b 100644 --- a/lib/screens/service_screen.dart +++ b/lib/screens/service_screen.dart @@ -0,0 +1,15 @@ +import 'package:flutter/material.dart'; + +class ServiceScreen extends StatefulWidget { + @override + _ServiceScreenState createState() => _ServiceScreenState(); +} + +class _ServiceScreenState extends State { + @override + Widget build(BuildContext context) { + return Container( + child: Text('Nothing here...'), + ); + } +} \ No newline at end of file