EventOptions class

Inheritance

Constructors

EventOptions({String? emptyText, bool showLoadingForEvent()?, Widget loadingWidget()?, Color emptyTextColor = const Color(0xffe5e5e5), IconData emptyIcon = Icons.reorder, Color emptyIconColor = const Color(0xffebebeb)})

Properties

emptyIcon IconData
getter/setter pair
emptyIconColor Color
getter/setter pair
emptyText String?
getter/setter pair
emptyTextColor Color
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
listenerCount int
Returns the number of listeners listening to this model.
no setterinherited
loadingWidget ↔ (Widget Function()?)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showLoadingForEvent ↔ (bool Function()?)
getter/setter pair

Methods

addListener(VoidCallback listener) → void
listener will be invoked when the model changes.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Should be called only by Model when the model has changed.
inherited
removeListener(VoidCallback listener) → void
listener will no longer be invoked when the model changes.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

of(BuildContext context) EventOptions