ModernCardVideoDisplayOptions class
Configuration options for the modern CardVideoDisplay widget.
Features modern glassmorphic styling with animated transitions, gradient overlays, and refined visual feedback.
Constructors
- ModernCardVideoDisplayOptions.new({required String remoteProducerId, required EventType eventType, required bool forceFullDisplay, required MediaStream? videoStream, Color backgroundColor = const Color(0xFF1A1A2E), bool doMirror = false, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin, BoxDecoration? decoration, Clip? clipBehavior, AlignmentGeometry alignment = Alignment.center, BoxConstraints? constraints, Widget? placeholder, Widget? overlay, ModernCardVideoDisplayContainerBuilder? containerBuilder, ModernCardVideoDisplayVideoBuilder? videoBuilder, bool maintainRendererOnNullStream = false, Duration streamPollInterval = const Duration(milliseconds: 120), double borderRadius = 16.0, bool enableGlassmorphism = true, bool showLoadingIndicator = true, bool showGradientOverlay = false, Gradient? gradientOverlay, bool isDarkMode = true, bool animateTransitions = true, Duration transitionDuration = const Duration(milliseconds: 300)})
Properties
- alignment → AlignmentGeometry
-
final
- animateTransitions → bool
-
final
- backgroundColor → Color
-
final
- borderRadius → double
-
final
- clipBehavior → Clip?
-
final
- constraints → BoxConstraints?
-
final
- containerBuilder → ModernCardVideoDisplayContainerBuilder?
-
final
- decoration → BoxDecoration?
-
final
- doMirror → bool
-
final
- enableGlassmorphism → bool
-
final
- eventType → EventType
-
final
- forceFullDisplay → bool
-
final
- gradientOverlay → Gradient?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDarkMode → bool
-
final
- maintainRendererOnNullStream → bool
-
final
- margin → EdgeInsetsGeometry?
-
final
- overlay → Widget?
-
final
- padding → EdgeInsetsGeometry?
-
final
- placeholder → Widget?
-
final
- remoteProducerId → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showGradientOverlay → bool
-
final
- showLoadingIndicator → bool
-
final
- streamPollInterval → Duration
-
final
- transitionDuration → Duration
-
final
- videoBuilder → ModernCardVideoDisplayVideoBuilder?
-
final
- videoStream → MediaStream?
-
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