NewsPage.dart
![](https://thana.in.th/wp-content/uploads/2021/06/Screen-Shot-2564-06-25-at-11.04.35-1024x591.png)
InkWell (
onTap: () {
print('tap');
},
)
![](https://thana.in.th/wp-content/uploads/2021/06/Screen-Shot-2564-06-25-at-11.08.52-1024x839.png)
Create WebViewPage.dart
![](https://thana.in.th/wp-content/uploads/2021/06/Screen-Shot-2564-06-25-at-11.16.03.png)
import 'package:flutter/material.dart';
class WebViewPage extends StatefulWidget {
const WebViewPage({Key? key}) : super(key: key);
@override
_WebViewPageState createState() => _WebViewPageState();
}
class _WebViewPageState extends State<WebViewPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('WebView'),
),
);
}
}
NewsPage.dart
![](https://thana.in.th/wp-content/uploads/2021/06/Screen-Shot-2564-06-25-at-12.33.54-1024x559.png)
Navigator.push(context, MaterialPageRoute(builder: (context) => WebViewPage()));
![](https://thana.in.th/wp-content/uploads/2021/06/Screen-Shot-2564-06-25-at-12.32.54.png)
(Visited 114 times, 1 visits today)