yubioath-flutter/lib/app/views/app_failure_screen.dart
2022-03-21 09:59:15 +01:00

23 lines
525 B
Dart
Executable File

import 'package:flutter/material.dart';
class AppFailureScreen extends StatelessWidget {
final String reason;
const AppFailureScreen(this.reason, {Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
reason,
textAlign: TextAlign.center,
),
],
),
);
}
}