13 lines
362 B
Dart
13 lines
362 B
Dart
|
import 'package:flutter/cupertino.dart';
|
||
|
import 'package:flutter/src/widgets/container.dart';
|
||
|
import 'package:flutter/src/widgets/framework.dart';
|
||
|
|
||
|
class ErrorState extends StatelessWidget {
|
||
|
final String? message;
|
||
|
const ErrorState({super.key,this.message});
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Center(child: Text(message!));
|
||
|
}
|
||
|
}
|