MenuModalOptions constructor
MenuModalOptions({ - Color backgroundColor = const Color(0xFF83C0E9),
- required bool isVisible,
- required dynamic onClose(),
- required List<CustomButton> customButtons,
- bool shareButtons = true,
- String position = 'bottomRight',
- required String roomName,
- required String adminPasscode,
- required String islevel,
- required EventType eventType,
- String? localLink = '',
- bool isDarkMode = true,
- void onToggleTheme(
- bool
)?,
- ModalRenderMode renderMode = ModalRenderMode.modal,
})
Implementation
MenuModalOptions({
this.backgroundColor = const Color(0xFF83C0E9),
required this.isVisible,
required this.onClose,
required this.customButtons,
this.shareButtons = true,
this.position = 'bottomRight',
required this.roomName,
required this.adminPasscode,
required this.islevel,
required this.eventType,
this.localLink = '',
this.isDarkMode = true,
this.onToggleTheme,
this.renderMode = ModalRenderMode.modal,
});