diff --git a/lib/widgets/fullscreen/info/maps/leaflet_map.dart b/lib/widgets/fullscreen/info/maps/leaflet_map.dart index 4b35b8d22..cc6fd5fcd 100644 --- a/lib/widgets/fullscreen/info/maps/leaflet_map.dart +++ b/lib/widgets/fullscreen/info/maps/leaflet_map.dart @@ -131,9 +131,9 @@ class EntryLeafletMapState extends State with AutomaticKeepAliv a: TextStyle(color: Theme.of(context).accentColor), p: TextStyle(color: Colors.white70, fontSize: 13, fontFamily: 'Concourse'), ), - onTapLink: (url) async { - if (await canLaunch(url)) { - await launch(url); + onTapLink: (text, href, title) async { + if (await canLaunch(href)) { + await launch(href); } }, ), diff --git a/lib/widgets/welcome_page.dart b/lib/widgets/welcome_page.dart index 31a6921c1..bac3b04e5 100644 --- a/lib/widgets/welcome_page.dart +++ b/lib/widgets/welcome_page.dart @@ -156,9 +156,9 @@ class _WelcomePageState extends State { child: Markdown( data: terms, selectable: true, - onTapLink: (url) async { - if (await canLaunch(url)) { - await launch(url); + onTapLink: (text, href, title) async { + if (await canLaunch(href)) { + await launch(href); } }, shrinkWrap: true, diff --git a/pubspec.lock b/pubspec.lock index 4a65823c3..e04527389 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -49,7 +49,7 @@ packages: name: barcode url: "https://pub.dartlang.org" source: hosted - version: "1.17.0" + version: "1.17.1" boolean_selector: dependency: transitive description: @@ -296,7 +296,7 @@ packages: name: flutter_markdown url: "https://pub.dartlang.org" source: hosted - version: "0.4.4" + version: "0.5.0" flutter_native_timezone: dependency: "direct main" description: @@ -324,7 +324,7 @@ packages: name: flutter_svg url: "https://pub.dartlang.org" source: hosted - version: "0.19.0" + version: "0.19.1" flutter_test: dependency: "direct dev" description: flutter @@ -416,7 +416,7 @@ packages: name: js url: "https://pub.dartlang.org" source: hosted - version: "0.6.3-nullsafety.1" + version: "0.6.3-nullsafety.2" json_rpc_2: dependency: transitive description: @@ -451,7 +451,7 @@ packages: name: markdown url: "https://pub.dartlang.org" source: hosted - version: "2.1.8" + version: "3.0.0" matcher: dependency: transitive description: @@ -570,7 +570,7 @@ packages: name: path_provider url: "https://pub.dartlang.org" source: hosted - version: "1.6.21" + version: "1.6.22" path_provider_linux: dependency: transitive description: @@ -612,14 +612,14 @@ packages: name: pedantic url: "https://pub.dartlang.org" source: hosted - version: "1.10.0-nullsafety.1" + version: "1.10.0-nullsafety.2" percent_indicator: dependency: "direct main" description: name: percent_indicator url: "https://pub.dartlang.org" source: hosted - version: "2.1.7+4" + version: "2.1.8" permission_handler: dependency: "direct main" description: @@ -670,7 +670,7 @@ packages: name: pool url: "https://pub.dartlang.org" source: hosted - version: "1.5.0-nullsafety.1" + version: "1.5.0-nullsafety.2" positioned_tap_detector: dependency: transitive description: @@ -684,7 +684,7 @@ packages: name: printing url: "https://pub.dartlang.org" source: hosted - version: "3.6.1" + version: "3.6.4" process: dependency: transitive description: @@ -726,7 +726,7 @@ packages: name: quiver url: "https://pub.dartlang.org" source: hosted - version: "2.1.3" + version: "2.1.4+1" rxdart: dependency: transitive description: @@ -822,14 +822,14 @@ packages: name: source_map_stack_trace url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.2" + version: "2.1.0-nullsafety.3" source_maps: dependency: transitive description: name: source_maps url: "https://pub.dartlang.org" source: hosted - version: "0.10.10-nullsafety.1" + version: "0.10.10-nullsafety.2" source_span: dependency: transitive description: @@ -843,7 +843,7 @@ packages: name: sqflite url: "https://pub.dartlang.org" source: hosted - version: "1.3.1+1" + version: "1.3.1+2" sqflite_common: dependency: transitive description: @@ -962,14 +962,14 @@ packages: name: url_launcher url: "https://pub.dartlang.org" source: hosted - version: "5.7.5" + version: "5.7.8" url_launcher_linux: dependency: transitive description: name: url_launcher_linux url: "https://pub.dartlang.org" source: hosted - version: "0.0.1+1" + version: "0.0.1+3" url_launcher_macos: dependency: transitive description: @@ -983,14 +983,14 @@ packages: name: url_launcher_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.0.8" + version: "1.0.9" url_launcher_web: dependency: transitive description: name: url_launcher_web url: "https://pub.dartlang.org" source: hosted - version: "0.1.4+1" + version: "0.1.5" url_launcher_windows: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index ab21192cf..3ce0d8a31 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -48,8 +48,8 @@ dependencies: # path: ../expansion_tile_card git: url: git://github.com/deckerst/expansion_tile_card.git - firebase_core: "^0.5.0" - firebase_crashlytics: "^0.2.0-dev.5" + firebase_core: + firebase_crashlytics: flushbar: flutter_ijkplayer: # path: ../flutter_ijkplayer