step 1 : Add this to your package's pubspec.yaml file:
url_launcher: ^5.0.2
step 2: When You come back to main.dart file you can see the get dependencies. when yo click on that link "flutter packages get" command will run. You can get the URL Launcher package