PipView constructor

const PipView({
  1. Key? key,
  2. PIPViewCorner initialCorner = PIPViewCorner.topRight,
  3. double? floatingWidth,
  4. double? floatingHeight,
  5. bool avoidKeyboard = true,
  6. Widget? topWidget,
  7. Widget? bottomWidget,
  8. void onTapTopWidget()?,
  9. required bool startMinimized,
  10. required Function closeCallback,
  11. required bool showMuteButton,
  12. required StoryController storyController,
})

Implementation

const PipView({
  Key? key,
  this.initialCorner = PIPViewCorner.topRight,
  this.floatingWidth,
  this.floatingHeight,
  this.avoidKeyboard = true,
  this.topWidget,
  this.bottomWidget,
  this.onTapTopWidget,
  required this.startMinimized,
  required this.closeCallback,
  required this.showMuteButton,
  required this.storyController
}) : super(key: key);