mc_gallery/lib/features/core/views/error_page_view.dart

26 lines
467 B
Dart
Raw Normal View History

2022-12-19 13:03:38 +00:00
import 'package:flutter/widgets.dart';
2022-12-25 21:17:59 +00:00
import '/l10n/generated/l10n.dart';
2022-12-19 13:03:38 +00:00
import '../widgets/gap.dart';
class ErrorPageView extends StatelessWidget {
const ErrorPageView({
required this.error,
super.key,
});
final Exception? error;
@override
Widget build(BuildContext context) {
return Center(
child: Column(
children: [
2022-12-25 21:17:59 +00:00
Text(Strings.current.errorPageMessage),
2023-01-01 12:04:22 +00:00
Gap.size16,
2022-12-19 13:03:38 +00:00
],
),
);
}
}