You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
453 B
22 lines
453 B
import 'package:flutter/material.dart';
|
|
|
|
class ErrorPage extends StatefulWidget {
|
|
final String error;
|
|
|
|
const ErrorPage({Key key, this.error}) : super(key: key);
|
|
@override
|
|
_ErrorPageState createState() => _ErrorPageState();
|
|
}
|
|
|
|
class _ErrorPageState extends State<ErrorPage> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
body: Center(
|
|
child: Text(
|
|
widget.error,
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|
|
|