here is my code which works fine on Android and opens URl on a browser:
_launchURL(url) async { if (await canLaunch(url)) { await launch(url);