MeetingPasscodeComponentOptions class
Configuration options for the MeetingPasscodeComponent widget.
Defines the meeting passcode value and styling for a read-only display field, typically shown only to hosts/admins in MenuModal for security credentials.
Properties:
meetingPasscode: The passcode string to display (required, typically 4-6 digits)labelStyle: Custom TextStyle for "Event Passcode (Host):" label (defaults to bold, dark gray)inputTextStyle: Custom TextStyle for passcode text in field (defaults to black)inputBackgroundColor: Background color for text field (defaults to Color(0xFFF0F0F0) - light gray)
Common Configurations:
// 1. Default styling
MeetingPasscodeComponentOptions(
meetingPasscode: "1234",
)
// 2. Custom colors for emphasis
MeetingPasscodeComponentOptions(
meetingPasscode: "ABCD",
labelStyle: TextStyle(color: Colors.red[800], fontWeight: FontWeight.bold),
inputTextStyle: TextStyle(color: Colors.red[900], fontSize: 18, letterSpacing: 2),
inputBackgroundColor: Colors.red[50],
)
Constructors
- MeetingPasscodeComponentOptions({required String meetingPasscode, TextStyle? labelStyle, TextStyle? inputTextStyle, Color? inputBackgroundColor})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputBackgroundColor → Color?
-
final
- inputTextStyle → TextStyle?
-
final
- labelStyle → TextStyle?
-
final
- meetingPasscode → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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