MirrorFlyView class

A widget that displays a view for audio/video calls in the MirrorFly application.

@property mirror Whether to mirror the view. Must be a Boolean. @property userJid The JID of the call participant. @property viewBgColor The color for the view (optional). Random color by default. @property alignProfilePictureCenter The alignment of the profile picture in an audio call. Can be CENTER or TOP. @property profileSize The size of the profile picture. Default is 60. @property showSpeakingRipple Whether to show a ripple effect in the profile view background when the user is speaking.

Inheritance
Available extensions

Constructors

MirrorFlyView({Key? key, bool mirror = true, ScalingType scalingType = ScalingType.scaleAspectFILL, Color? viewBgColor, bool? alignProfilePictureCenter = true, int? profileSize = 80, bool? hideProfileView = false, required String userJid, bool? showSpeakingRipple = false, dynamic onClick()?})
Constructor for the MirrorFlyView class.
const

Properties

alignProfilePictureCenter bool?
The alignment of the profile picture in an audio call.
final
hashCode int
The hash code for this object.
no setterinherited
hideProfileView bool?
Whether to hide the profile view.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
mirror bool
Whether to mirror the view. Must be a Boolean.
final
onClick → dynamic Function()?
The function to call when the view is clicked.
final
profileSize int?
The size of the profile picture.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scalingType ScalingType
The scaling type for the view.
final
showSpeakingRipple bool?
Whether to show a ripple effect in the profile view background when the user is speaking.
final
userJid String
The JID of the call participant.
final
viewBgColor Color?
The color for the view.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<MirrorFlyView>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBorderRadius(BorderRadiusGeometry radius) → dynamic

Available on MirrorFlyView, provided by the ExtensionMirrorflyView extension

Sets the border radius of the view.
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited