refactor: Update to Dart 3.10 with . shorthands
This commit is contained in:
parent
75a37f3f7c
commit
1ea649f01e
167 changed files with 3351 additions and 3912 deletions
|
|
@ -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),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue