Support Flutter 3.10

This commit is contained in:
Juan Gilsanz Polo 2023-05-18 01:32:52 +02:00
parent dcca75e228
commit 64e526b20e
5 changed files with 92 additions and 108 deletions

View file

@ -191,7 +191,7 @@ class UpdateScreen extends StatelessWidget {
padding: const EdgeInsets.symmetric(horizontal: 16),
child: Html(
data: html.parse(md.markdownToHtml(serversProvider.updateAvailable.data!.changelog!)).outerHtml,
onLinkTap: (url, context, attributes, element) => url != null ? openUrl(url) : null,
onLinkTap: (url, context, attributes) => url != null ? openUrl(url) : null,
)
)
],