ModernPermissionsModalOptions class
Options for the ModernPermissionsModal widget
Constructors
-
ModernPermissionsModalOptions.new({required bool isPermissionsModalVisible, required VoidCallback onPermissionsClose, required List<
Participant> participants, required String member, required String islevel, Socket? socket, required String roomName, ShowAlert? showAlert, PermissionConfig? permissionConfig, void updatePermissionConfig(PermissionConfig)?, Color? backgroundColor, String position = 'topRight', bool isDarkMode = true, bool enableGlassmorphism = true, bool enableGlow = true, ModalRenderMode renderMode = ModalRenderMode.modal, String? audioSetting, String? videoSetting, String? chatSetting})
Properties
- audioSetting → String?
-
final
- backgroundColor → Color?
-
final
- chatSetting → String?
-
final
- enableGlassmorphism → bool
-
final
- enableGlow → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDarkMode → bool
-
final
- islevel → String
-
final
- isPermissionsModalVisible → bool
-
final
- member → String
-
final
- onPermissionsClose → VoidCallback
-
final
-
participants
→ List<
Participant> -
final
- permissionConfig → PermissionConfig?
-
final
- position → String
-
final
- renderMode → ModalRenderMode
-
final
- roomName → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
final
- showAlert → ShowAlert?
-
final
- socket → Socket?
-
final
- updatePermissionConfig → void Function(PermissionConfig)?
-
final
- videoSetting → String?
-
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