init
This commit is contained in:
commit
8e54cfffc5
91 changed files with 2686 additions and 0 deletions
25
lib/features/core/views/error_page_view.dart
Normal file
25
lib/features/core/views/error_page_view.dart
Normal file
|
@ -0,0 +1,25 @@
|
|||
import 'package:flutter/widgets.dart';
|
||||
|
||||
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: [
|
||||
const Text('Oopsie, there has been an error. Hang tight till we do something about it.'),
|
||||
const Gap(16),
|
||||
Text('what happened: $error'),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue