-
-
Save sbis04/399a5b21175238789ebc11a83cc335c3 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
// Design for current location button | |
ClipOval( | |
child: Material( | |
color: Colors.orange[100], // button color | |
child: InkWell( | |
splashColor: Colors.orange, // inkwell color | |
child: SizedBox( | |
width: 56, | |
height: 56, | |
child: Icon(Icons.my_location), | |
), | |
onTap: () { | |
// TODO: Add the operation to be performed | |
// on button tap | |
}, | |
), | |
), | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment