MirrorFlyView constructor

const MirrorFlyView({
  1. Key? key,
  2. bool mirror = true,
  3. ScalingType scalingType = ScalingType.scaleAspectFILL,
  4. Color? viewBgColor,
  5. bool? alignProfilePictureCenter = true,
  6. int? profileSize = 80,
  7. bool? hideProfileView = false,
  8. required String userJid,
  9. bool? showSpeakingRipple = false,
  10. dynamic onClick()?,
})

MirrorFly View for Audio/Video View

  • @property mirror - Mirror the view Must be a Boolean
  • @property userJid - Call participant JID
  • @property viewBgColor - Color for the View (optional). Random Color by Default
  • @property alignProfilePictureCenter - Alignment of the profile Picture in Audio Call CENTER or TOP
  • @property profileSize - Size of the profile picture. 60 by Default
  • @property showSpeakingRipple - to show Speaking Ripple effect in Profile view background

Implementation

const MirrorFlyView(
    {Key? key,
    this.mirror = true,
    this.scalingType = ScalingType.scaleAspectFILL,
    this.viewBgColor,
    this.alignProfilePictureCenter = true,
    // this.horizontalGravity = HorizontalGravity.center,
    // this.profileview,
    this.profileSize = 80,
    this.hideProfileView = false,
    required this.userJid, this.showSpeakingRipple = false, this.onClick})
    : super(key: key);