mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-26 03:32:39 +03:00
23 lines
518 B
Dart
Executable File
23 lines
518 B
Dart
Executable File
import 'package:flutter/material.dart';
|
|
|
|
class AppFailureScreen extends StatelessWidget {
|
|
final String reason;
|
|
const AppFailureScreen(this.reason, {super.key}) : super();
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Center(
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: [
|
|
Text(
|
|
reason,
|
|
textAlign: TextAlign.center,
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|