-
-
Save hitherejoe/7c0aaf3d411d0666fe2ba481a4957ee1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Dashboard extends StatefulWidget { | |
Dashboard({Key key}) : super(key: key); | |
@override | |
_DashboardState createState() => new _DashboardState(); | |
} | |
class _DashboardState extends State<Dashboard> { | |
... | |
@override | |
Widget build(BuildContext context) { | |
return DefaultTabController( | |
length: _currentCategory == 3 ? 1 : 3, | |
child: PlatformParent( | |
children: PlatformContent(), | |
... | |
)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment