AbnormalStateWidget constructor
AbnormalStateWidget({
- Key? key,
- Image? img,
- String? title,
- String? content,
- OperateAreaType operateAreaType = OperateAreaType.textButton,
- List<
String> ? operateTexts, - EmptyStatusIndexedActionClickCallback? action,
- bool enablePageTap = false,
- double? topOffset,
- Color bgColor = Colors.white,
- bool isCenterVertical = false,
- double topPercent = 0.08,
- AbnormalStateConfig? themeData,
Implementation
AbnormalStateWidget({
super.key,
this.img,
this.title,
this.content,
this.operateAreaType = OperateAreaType.textButton,
this.operateTexts,
this.action,
this.enablePageTap = false,
this.topOffset,
this.bgColor = Colors.white,
this.isCenterVertical = false,
this.topPercent = 0.08,
this.themeData,
}) {
themeData ??= AbnormalStateConfig();
themeData = BaseThemeConfig.instance
.getConfig(configId: themeData!.configId)
.abnormalStateConfig
.merge(themeData);
}