📱
Flutterで指定したURLのWebページに飛ぶ
1. パッケージのインストール
flutter pub add url_launcher
2. インポート
import 'package:url_launcher/url_launcher.dart';
3. 実装(例)
final url = Uri.parse('https://***');
launchUrl(url), mode: LaunchMode.externalApplication);
flutter pub add url_launcher
import 'package:url_launcher/url_launcher.dart';
final url = Uri.parse('https://***');
launchUrl(url), mode: LaunchMode.externalApplication);
Discussion