Launcher URL From Flutter
Step 1
We cannot directly remove the time stamp from Launcher URL From Flutter 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 .
dev_dependencies: flutter_test: sdk: flutter url_launcher: ^4.1.0
flutter pub get
import 'package:flutter/material.dart'; import 'package:url_launcher/url_launcher.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 { @override State<StatefulWidget> createState() => MyHomePageState(); } class MyHomePageState extends State<MyHomePage> { final String url = 'https://bajarangisoft.com/'; _launchUrl() async { if (await canLaunch(url)) { await launch(url); } else { throw 'Could not lauch URL'; } } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( backgroundColor: Colors.red[900], title: Text('Launch URL From App')), body: Center( child: RaisedButton( onPressed: _launchUrl, child: Text('Goto Bajarangisoft.com'), color: Colors.teal, textColor: Colors.white, )), ); } }