forked from lxm_flutter/FlutterUnit
27 lines
633 B
Dart
27 lines
633 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// create by 张风捷特烈 on 2020-03-31
|
|
/// contact me by email 1981462002@qq.com
|
|
/// 说明:
|
|
|
|
// {
|
|
// "widgetId": 197,
|
|
// "name": 'ErrorWidget基本使用',
|
|
// "priority": 1,
|
|
// "subtitle": "入参 : 显示信息 【Object】",
|
|
// }
|
|
class ErrorWidgetDemo extends StatelessWidget {
|
|
const ErrorWidgetDemo({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SizedBox(
|
|
height: 200,
|
|
child: ErrorWidget(
|
|
'I am Error ErrorWidget\n'
|
|
'But now, there has no error.'
|
|
),
|
|
);
|
|
}
|
|
}
|