NewsPages.dart
![](https://thana.in.th/wp-content/uploads/2021/06/Screen-Shot-2564-06-25-at-13.50.55-1024x797.png)
Navigator.push(context,
MaterialPageRoute(builder: (context) => WebViewPage(),
settings: RouteSettings(
arguments: {
'name' : articles[index]['source']['name'],
'url' : articles[index]['url'],
}
)
)
);
WebViewPage.dart
![](https://thana.in.th/wp-content/uploads/2021/06/Screen-Shot-2564-06-25-at-13.42.21-1024x427.png)
final Map news = ModalRoute.of(context)!.settings.arguments as Map;
title: Text('${news['name']}'),
![](https://thana.in.th/wp-content/uploads/2021/06/Screen-Shot-2564-06-25-at-13.47.45.png)
(Visited 80 times, 1 visits today)