ConfirmHereModalOptions class

ConfirmHereModalOptions defines the configuration for ConfirmHereModal, including visibility, callbacks, countdown, and socket settings.

  • isConfirmHereModalVisible: Controls visibility.
  • onConfirmHereClose: Callback to handle closing.
  • backgroundColor: Modal background color.
  • countdownDuration: Duration for countdown in seconds.
  • socket: WebSocket connection.
  • localSocket: Local WebSocket connection.
  • roomName: Room name for session.
  • member: Member ID for user.

Constructors

ConfirmHereModalOptions.new({required bool isConfirmHereModalVisible, required VoidCallback onConfirmHereClose, Socket? socket, Socket? localSocket, required String roomName, required String member, Color backgroundColor = const Color(0xFF83c0e9), Color displayColor = Colors.black, int countdownDuration = 120})

Properties

backgroundColor Color
final
countdownDuration int
final
displayColor Color
final
hashCode int
The hash code for this object.
no setterinherited
isConfirmHereModalVisible bool
final
localSocket → Socket?
final
member String
final
onConfirmHereClose VoidCallback
final
roomName String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
socket → Socket?
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