Skip to content

Commit

Permalink
Back button in search
Browse files Browse the repository at this point in the history
  • Loading branch information
Chinmay-KB committed Apr 29, 2020
1 parent 976c8e7 commit 8033776
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gogrocy/lib/ui/views/search_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ class SearchView extends StatelessWidget {
width: 0,
height: 0,
),
prefixIcon: GestureDetector(
onTap: ()=>Navigator.pop(context),
child: Icon(Icons.arrow_back,color: Colors.black38,),
),
contentPadding: EdgeInsets.all(15),
hintText: "Search"),
onSubmitted: (value) {
Expand Down

0 comments on commit 8033776

Please sign in to comment.