AudioCardOptions class
AudioCardOptions - Configuration options for the AudioCard
widget.
Example:
AudioCard(
options: AudioCardOptions(
name: "Participant Name",
customStyle: BoxDecoration(color: Colors.grey),
participant: participantData,
barColor: Colors.red,
parameters: parameters,
),
);
Constructors
- AudioCardOptions({ControlMediaType controlUserMedia = controlMedia, required BoxDecoration customStyle, required String name, Color barColor = const Color.fromARGB(255, 240, 35, 35), Color textColor = Colors.white, String? imageSource, bool roundedImage = false, BoxDecoration? imageStyle, bool showControls = true, bool showInfo = true, Widget? videoInfoComponent, Widget? videoControlsComponent, String controlsPosition = 'topLeft', String infoPosition = 'topRight', required Participant participant, Color backgroundColor = Colors.white, required AudioCardParameters parameters})
Properties
- backgroundColor → Color
-
final
- barColor → Color
-
final
- controlsPosition → String
-
final
- controlUserMedia → ControlMediaType
-
final
- customStyle → BoxDecoration
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageSource → String?
-
final
- imageStyle → BoxDecoration?
-
final
- infoPosition → String
-
final
- name → String
-
final
- parameters → AudioCardParameters
-
final
- participant → Participant
-
final
- roundedImage → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showControls → bool
-
final
- showInfo → bool
-
final
- textColor → Color
-
final
- videoControlsComponent → Widget?
-
final
- videoInfoComponent → Widget?
-
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