Fix require_trailing_commas
This commit is contained in:
parent
c53ac484fa
commit
5c6eaa9fb9
23 changed files with 28 additions and 27 deletions
|
@ -45,7 +45,7 @@ class Configuration {
|
|||
final List<String> onlineSecureKeys = [
|
||||
keyKey,
|
||||
secretKeyKey,
|
||||
authSecretKeyKey
|
||||
authSecretKeyKey,
|
||||
];
|
||||
|
||||
final kTempFolderDeletionTimeBuffer = const Duration(days: 1).inMicroseconds;
|
||||
|
|
|
@ -122,7 +122,7 @@ class _CredentialBuilder {
|
|||
return headers
|
||||
..addAll(
|
||||
<String, String>{
|
||||
'X-Sentry-Auth': '$_authHeader, sentry_timestamp=$timestamp'
|
||||
'X-Sentry-Auth': '$_authHeader, sentry_timestamp=$timestamp',
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ Locale localResolutionCallBack(locales, supportedLocales) {
|
|||
Locale? languageCodeMatch;
|
||||
final Map<String, Locale> languageCodeToLocale = {
|
||||
for (Locale supportedLocale in appSupportedLocales)
|
||||
supportedLocale.languageCode: supportedLocale
|
||||
supportedLocale.languageCode: supportedLocale,
|
||||
};
|
||||
|
||||
for (Locale locale in locales) {
|
||||
|
|
|
@ -89,7 +89,7 @@ class ViewQrPage extends StatelessWidget {
|
|||
child: Text(l10n.back),
|
||||
),
|
||||
),
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -403,7 +403,7 @@ class _EmailEntryPageState extends State<EmailEntryPage> {
|
|||
style: const TextStyle(
|
||||
decoration: TextDecoration.underline,
|
||||
),
|
||||
)
|
||||
),
|
||||
},
|
||||
),
|
||||
),
|
||||
|
|
|
@ -204,14 +204,14 @@ class _LoginPageState extends State<LoginPage> {
|
|||
style: const TextStyle(
|
||||
decoration: TextDecoration.underline,
|
||||
),
|
||||
)
|
||||
),
|
||||
},
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
flex: 2,
|
||||
child: Container(),
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -221,7 +221,7 @@ State<LoginPasswordVerificationPage> {
|
|||
),
|
||||
],
|
||||
),
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -152,7 +152,7 @@ class _OTTVerificationPageState extends State<OTTVerificationPage> {
|
|||
SizedBox(
|
||||
width: MediaQuery.of(context).size.width * 0.2,
|
||||
height: 1,
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
@ -203,7 +203,7 @@ class _OTTVerificationPageState extends State<OTTVerificationPage> {
|
|||
decoration: TextDecoration.underline,
|
||||
),
|
||||
),
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -310,7 +310,7 @@ class _PasswordReentryPageState extends State<PasswordReentryPage> {
|
|||
),
|
||||
],
|
||||
),
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -191,7 +191,7 @@ class _RecoveryKeyPageState extends State<RecoveryKeyPage> {
|
|||
children: _saveOptions(context, recoveryKey),
|
||||
),
|
||||
),
|
||||
)
|
||||
),
|
||||
],
|
||||
), // columnEnds
|
||||
),
|
||||
|
|
|
@ -196,7 +196,7 @@ class _VerifyRecoveryPageState extends State<VerifyRecoveryPage> {
|
|||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 20)
|
||||
const SizedBox(height: 20),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -30,7 +30,7 @@ class DynamicFAB extends StatelessWidget {
|
|||
spreadRadius: 200,
|
||||
blurRadius: 100,
|
||||
offset: const Offset(0, 230),
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
width: double.infinity,
|
||||
|
|
|
@ -277,7 +277,7 @@ class _BodyState extends State<_Body> {
|
|||
_direction == TextDirection.ltr ? loader : text,
|
||||
const SizedBox(width: 8.0),
|
||||
_direction == TextDirection.rtl ? loader : text,
|
||||
const SizedBox(width: 8.0)
|
||||
const SizedBox(width: 8.0),
|
||||
],
|
||||
),
|
||||
],
|
||||
|
|
|
@ -308,7 +308,7 @@ class _ButtonChildWidgetState extends State<ButtonChildWidget> {
|
|||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
),
|
||||
)
|
||||
),
|
||||
],
|
||||
);
|
||||
},
|
||||
|
|
|
@ -48,7 +48,7 @@ class CaptionedTextWidget extends StatelessWidget {
|
|||
],
|
||||
),
|
||||
),
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -280,7 +280,7 @@ class _TextInputDialogState extends State<TextInputDialog> {
|
|||
),
|
||||
),
|
||||
],
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -61,7 +61,7 @@ class TitleBarWidget extends StatelessWidget {
|
|||
: Text(
|
||||
caption!,
|
||||
style: textTheme.mini.copyWith(color: colorTheme.textMuted),
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
@ -112,7 +112,7 @@ class TitleBarWidget extends StatelessWidget {
|
|||
),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 1,
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -56,7 +56,7 @@ class CoachMarkWidget extends StatelessWidget {
|
|||
},
|
||||
child: Text(l10n.ok),
|
||||
),
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
|
|
|
@ -46,7 +46,8 @@ class ScannerGoogleAuthPageState extends State<ScannerGoogleAuthPage> {
|
|||
child: QRView(
|
||||
key: qrKey,
|
||||
overlay: QrScannerOverlayShape(
|
||||
borderColor: getEnteColorScheme(context).primary700,),
|
||||
borderColor: getEnteColorScheme(context).primary700,
|
||||
),
|
||||
onQRViewCreated: _onQRViewCreated,
|
||||
formatsAllowed: const [BarcodeFormat.qrcode],
|
||||
),
|
||||
|
@ -56,7 +57,7 @@ class ScannerGoogleAuthPageState extends State<ScannerGoogleAuthPage> {
|
|||
child: Center(
|
||||
child: (totp != null) ? Text(totp!) : Text(l10n.scanACode),
|
||||
),
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
|
|
@ -51,7 +51,7 @@ class ScannerPageState extends State<ScannerPage> {
|
|||
child: Center(
|
||||
child: (totp != null) ? Text(totp!) : Text(l10n.scanACode),
|
||||
),
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
|
|
@ -95,7 +95,7 @@ class FaqWidget extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
|
|
@ -27,7 +27,7 @@ late Set<String> iOSLowEndMachineCodes = <String>{
|
|||
"iPhone10,2", // iPhone 8 Plus
|
||||
"iPhone10,3", // iPhone X Global
|
||||
"iPhone10,4", // iPhone 8
|
||||
"iPhone10,5" // iPhone 8
|
||||
"iPhone10,5", // iPhone 8
|
||||
};
|
||||
|
||||
Future<bool> isLowSpecDevice() async {
|
||||
|
|
|
@ -277,7 +277,7 @@ void _showNoMailAppsDialog(BuildContext context, String toEmail) {
|
|||
onPressed: () {
|
||||
Navigator.pop(context);
|
||||
},
|
||||
)
|
||||
),
|
||||
],
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue