mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-01 06:27:17 +00:00
27 lines
709 B
Dart
27 lines
709 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class BrandError extends StatelessWidget {
|
|
const BrandError({final super.key, this.error, this.stackTrace});
|
|
|
|
final Object? error;
|
|
final StackTrace? stackTrace;
|
|
|
|
@override
|
|
Widget build(final BuildContext context) => SafeArea(
|
|
child: Scaffold(
|
|
body: Center(
|
|
child: SingleChildScrollView(
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: [
|
|
Text(error.toString()),
|
|
const Text('stackTrace: '),
|
|
Text(stackTrace.toString()),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|