Skip to content

Instantly share code, notes, and snippets.

@ipondroid
Created July 25, 2019 05:09
Show Gist options
  • Save ipondroid/e770fc562c881ee916f0e6dfe05bfae1 to your computer and use it in GitHub Desktop.
Save ipondroid/e770fc562c881ee916f0e6dfe05bfae1 to your computer and use it in GitHub Desktop.
child: RaisedButton(
child: Text('go to first tab'),
onPressed: () {
_tabController.animateTo(0, curve: Curves.ease, duration: Duration(seconds: 2));
},
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment