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.

23 lines
453 B

3 years ago
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,
),
),
);
}
}