Created
February 17, 2019 19:08
-
-
Save JulianBissekkou/b5a79abb7893d0e3d6eeb9facb0995dc 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
@override | |
Widget build(BuildContext context) { | |
return PullToReachScope( | |
child: Scaffold( | |
appBar: AppBar( | |
actions: [ | |
ReachableIcon( | |
child: Icon(Icons.search), | |
index: 2, | |
onSelect: () => _routeToPage("search!"), | |
), | |
ReachableIcon( | |
child: Icon(Icons.settings), | |
index: 1, | |
onSelect: () => _routeToPage("settings!")), | |
], | |
), | |
body: ScrollToIndexConverter( | |
itemCount: 3, | |
child: _buildList(), | |
), | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment