Skip to content

Commit

Permalink
Merge pull request #8 from mafreud/algolia_onTop
Browse files Browse the repository at this point in the history
Algolia on top
  • Loading branch information
mafreud authored May 3, 2021
2 parents 1681d6c + e4debd3 commit be9ac6c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Proximity solves this problem. It enables users to touch and feel widgets so tha

### Widget

- FractionallySizedBox
- AnimatedList
- Flow
- AnimatedWidget
- ToggleButtons
Expand Down
11 changes: 11 additions & 0 deletions lib/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ class HomePage extends StatelessWidget {
return Scaffold(
appBar: AppBar(
title: Text('proximity'),
actions: [
Platform.isIOS
? IconButton(
icon: Icon(Icons.search),
onPressed: () {
Navigator.push(context,
MaterialPageRoute(builder: (context) => AlgoliaPage()));
},
)
: SizedBox()
],
),
body: SingleChildScrollView(
child: Column(
Expand Down

0 comments on commit be9ac6c

Please sign in to comment.