Skip to content

Commit

Permalink
heroTag on floatingActionButton
Browse files Browse the repository at this point in the history
  • Loading branch information
nickosmark committed May 2, 2020
1 parent 6117264 commit 936f73a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/screens/chrisHomeScreen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ class _HomeScreenState extends State<ChrisHomeScreen> {
Padding(
padding: const EdgeInsets.all(4.0),
child: FloatingActionButton.extended(
heroTag: 'searchBtn',
onPressed: () {
_removePolylines();
date = dateController.text;
Expand All @@ -133,6 +134,7 @@ class _HomeScreenState extends State<ChrisHomeScreen> {
Padding(
padding: const EdgeInsets.all(4.0),
child: FloatingActionButton.extended(
heroTag: 'createBtn',
onPressed: () {
String text1 = from+ "\n";
String text2 = to+ "\n";
Expand Down

0 comments on commit 936f73a

Please sign in to comment.