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

@@ -17,7 +17,7 @@ import 'package:flutter_feather_icons/flutter_feather_icons.dart';
import 'package:provider/provider.dart';
import 'package:refilc/utils/format.dart';
import 'package:intl/intl.dart';
import 'package:i18n_extension/i18n_widget.dart';
import 'package:i18n_extension/i18n_extension.dart';
import 'timetable_page.i18n.dart';
// todo: "fix" overflow (priority: -1)

View File

@@ -139,12 +139,18 @@ class _SettingsScreenState extends State<SettingsScreen>
]);
}
void _openDKT(User u) => tabs.launch(
"https://dkttanulo.e-kreta.hu/sso?id_token=${kretaClient.idToken}",
customTabsOption: tabs.CustomTabsOption(
toolbarColor: Theme.of(context).scaffoldBackgroundColor,
showPageTitle: true,
));
void _openDKT(User u) => tabs.launchUrl(
Uri.parse(
"https://dkttanulo.e-kreta.hu/sso?id_token=${kretaClient.idToken}"),
customTabsOptions: tabs.CustomTabsOptions(
showTitle: true,
colorSchemes: tabs.CustomTabsColorSchemes(
defaultPrams: tabs.CustomTabsColorSchemeParams(
toolbarColor: Theme.of(context).scaffoldBackgroundColor,
),
),
),
);
@override
void initState() {