yubioath-flutter/lib/app/views/app_failure_screen.dart

23 lines
525 B
Dart
Raw Normal View History

2022-03-09 19:47:50 +03:00
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,
2022-03-16 16:55:21 +03:00
children: [
Text(
reason,
textAlign: TextAlign.center,
),
2022-03-09 19:47:50 +03:00
],
),
);
}
}