mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-03 22:49:35 +03:00
23 lines
525 B
Dart
Executable File
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,
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|