refactor: Update to Dart 3.10 with . shorthands

This commit is contained in:
Christian Kußowski 2025-11-30 12:54:06 +01:00
commit 1ea649f01e
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
167 changed files with 3351 additions and 3912 deletions

View file

@ -71,7 +71,7 @@ class LoginScaffold extends StatelessWidget {
),
),
),
const _PrivacyButtons(mainAxisAlignment: MainAxisAlignment.center),
const _PrivacyButtons(mainAxisAlignment: .center),
],
),
);
@ -95,31 +95,19 @@ class _PrivacyButtons extends StatelessWidget {
children: [
TextButton(
onPressed: () => launchUrlString(AppConfig.website),
child: Text(
L10n.of(context).website,
style: shadowTextStyle,
),
child: Text(L10n.of(context).website, style: shadowTextStyle),
),
TextButton(
onPressed: () => launchUrlString(AppConfig.supportUrl),
child: Text(
L10n.of(context).help,
style: shadowTextStyle,
),
child: Text(L10n.of(context).help, style: shadowTextStyle),
),
TextButton(
onPressed: () => launchUrl(AppConfig.privacyUrl),
child: Text(
L10n.of(context).privacy,
style: shadowTextStyle,
),
child: Text(L10n.of(context).privacy, style: shadowTextStyle),
),
TextButton(
onPressed: () => PlatformInfos.showDialog(context),
child: Text(
L10n.of(context).about,
style: shadowTextStyle,
),
child: Text(L10n.of(context).about, style: shadowTextStyle),
),
],
),