EmptyConfig class

Constructors

EmptyConfig.new({String? text, String? btnText, String? image, bool btnVisible = true, Widget? imageView, Widget? textView, Widget? button, Color backgroundColor = Colors.white, bool showEmptyViewWhenListEmpty = true})

Properties

backgroundColor Color
final
btnText String?
final
btnVisible bool
final
button Widget?
final
hashCode int
The hash code for this object.
no setterinherited
image String?
final
imageView Widget?
final
onPress VoidCallback?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showEmptyViewWhenListEmpty bool
在有header或者footer的情况下,列表数据为空时是否显示EmptyView
final
text String?
final
textView Widget?
final

Methods

copyOf({String? text, String? btnText, String? image, bool? btnVisible, VoidCallback? onPress, Widget? imageView, Widget? textView, Widget? body, Widget? button, double? centerTop, double? centerBottom, Color? backgroundColor, bool? showEmptyViewWhenListEmpty}) EmptyConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited