how to open the website on button pressed in flutter code example
Example: how to open page with button flutter
// Within the `FirstRoute` widget
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(builder: (context) => SecondRoute()),
);
}