refactor(linter): Перейти на friflex_linter, обновить правила

This commit is contained in:
PetrovY
2025-05-28 16:38:56 +03:00
parent 31507ae230
commit c6d4700892
61 changed files with 691 additions and 366 deletions

View File

@@ -6,9 +6,9 @@ import 'package:flutter/material.dart';
class ErrorScreen extends StatelessWidget {
/// {@macro ErrorScreen}
const ErrorScreen({
super.key,
required this.error,
required this.stackTrace,
super.key,
this.onRetry,
});
@@ -31,14 +31,11 @@ class ErrorScreen extends StatelessWidget {
child: const Text('Перезагрузить приложение'),
),
const SizedBox(height: 16),
Text(
'''
Text('''
Что-то пошло не так, попробуйте перезагрузить приложение
error: $error
stackTrace: $stackTrace
''',
textAlign: TextAlign.center,
),
''', textAlign: TextAlign.center),
],
),
),