mirror of
https://github.com/smmarty/friflex_flutter_starter.git
synced 2026-02-05 19:52:17 +00:00
refactor(linter): Перейти на friflex_linter, обновить правила
This commit is contained in:
@@ -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),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user