RequestsModalOptions class
Options for the RequestsModal widget.
Constructors
-
RequestsModalOptions({required bool isRequestsModalVisible, required VoidCallback onRequestClose, required int requestCounter, required dynamic onRequestFilterChange(String), required List<
Request> requestList, RespondToRequestsType onRequestItemPress = respondToRequests, required dynamic updateRequestList(List<Request> ), required String roomName, Socket? socket, Color backgroundColor = const Color(0xFF83C0E9), String position = 'topRight', required RequestsModalParameters parameters, RenderRequestComponentType renderRequestComponent = _defaultRenderRequestComponent})
Properties
- backgroundColor → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRequestsModalVisible → bool
-
final
- onRequestClose → VoidCallback
-
final
- onRequestFilterChange → dynamic Function(String)
-
final
- onRequestItemPress ↔ RespondToRequestsType
-
getter/setter pair
- parameters → RequestsModalParameters
-
final
- position → String
-
final
- renderRequestComponent ↔ RenderRequestComponentType
-
getter/setter pair
- requestCounter → int
-
final
-
requestList
→ List<
Request> -
final
- roomName → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- socket → Socket?
-
final
-
updateRequestList
→ dynamic Function(List<
Request> ) -
final
Methods
-
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