openWebView method

void openWebView(
  1. BuildContext context,
  2. String webLink
)

Implementation

void openWebView(BuildContext context, String webLink) {
  Navigator.push(context, MaterialPageRoute(builder: (BuildContext context) {
    return CustomWebView(
      selectedUrl: webLink,
    );
  }));
}