upgraded pub packages

This commit is contained in:
Kima
2024-02-24 23:19:37 +01:00
parent ae1f3f9389
commit 25bec328fa
34 changed files with 291 additions and 194 deletions

View File

@@ -42,11 +42,17 @@ class EventView extends StatelessWidget {
text: event.content.escapeHtml(),
options: const LinkifyOptions(looseUrl: true, removeWww: true),
onOpen: (link) {
launch(link.url,
customTabsOption: CustomTabsOption(
toolbarColor: Theme.of(context).scaffoldBackgroundColor,
showPageTitle: true,
));
launchUrl(
Uri.parse(link.url),
customTabsOptions: CustomTabsOptions(
showTitle: true,
colorSchemes: CustomTabsColorSchemes(
defaultPrams: CustomTabsColorSchemeParams(
toolbarColor: Theme.of(context).scaffoldBackgroundColor,
),
),
),
);
},
style: const TextStyle(fontWeight: FontWeight.w400),
),