upgraded pub packages
This commit is contained in:
@@ -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),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user