JuiNoContent constructor
const
JuiNoContent({})
创建一个 JuiNoContent 组件
paddingTop:顶部填充,默认为130。text:显示的文本内容,默认为"暂无数据"。type:空页面的类型,必填。imagePath:自定义图片路径,仅在JuiNoContentType.custom类型下使用。imageWidth:图片的宽度,默认为180。paddingBottom:底部填充,默认为0。
Implementation
const JuiNoContent({
Key? key,
this.paddingTop = 130,
this.text = "暂无数据",
required this.type,
this.imagePath,
this.imageWidth = 180,
this.paddingBottom = 0,
}) : super(key: key);