Webview Run Javascript
Step 1
We cannot directly remove the time stamp from Webview Run Javascript but using the intl.dart package we can easily filter the date stamp from time stamp. So open your flutter project’s pubspec.yaml in code .
dependencies: flutter: sdk: flutter flutter_webview_plugin: 0.3.0+2
flutter pub get
import 'package:flutter/material.dart'; import 'package:flutter_webview_plugin/flutter_webview_plugin.dart'; void main() => runApp(new MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, home: MyHomePage(), ); } } class MyHomePage extends StatefulWidget { final String title; MyHomePage({this.title}); @override _MyHomePageState createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage>{ final flutterWebviewPlugin = new FlutterWebviewPlugin(); @override void initState(){ super.initState(); flutterWebviewPlugin.evalJavascript("alert('Bajarangisoft.com')"); } @override void dispose() { flutterWebviewPlugin.dispose(); super.dispose(); } @override Widget build(BuildContext context) { return WebviewScaffold( url: 'https://Bajarangisoft.com', hidden: true, appBar: AppBar(title: Text("Run JS in Webview")), ); } }