RuntimeInsightOverlay constructor

const RuntimeInsightOverlay({
  1. Key? key,
  2. Stream<AppResourceSnapshot>? stream,
  3. AppResourceMonitoringConfig? config,
  4. int maxPoints = 60,
  5. double width = 280,
  6. double height = 300,
  7. bool showCloseButton = true,
  8. bool showPauseButton = true,
  9. bool showOpacitySlider = true,
  10. bool allowDrag = true,
  11. String? persistenceKey,
  12. bool persistPosition = true,
  13. bool persistOpacity = true,
  14. RuntimeInsightOverlayStrings? strings,
  15. VoidCallback? onClose,
  16. EdgeInsets margin = const EdgeInsets.all(12),
  17. Color? backgroundColor,
  18. bool showMinimizeButton = true,
  19. double minimizedSize = 56,
  20. bool initiallyMinimized = false,
  21. Set<OverlayDisplayStat> displayStats = kDefaultDisplayStats,
  22. RuntimeInsightOverlayController? controller,
})

Implementation

const RuntimeInsightOverlay({
  super.key,
  this.stream,
  this.config,
  this.maxPoints = 60,
  this.width = 280,
  this.height = 300,
  this.showCloseButton = true,
  this.showPauseButton = true,
  this.showOpacitySlider = true,
  this.allowDrag = true,
  this.persistenceKey,
  this.persistPosition = true,
  this.persistOpacity = true,
  this.strings,
  this.onClose,
  this.margin = const EdgeInsets.all(12),
  this.backgroundColor,
  this.showMinimizeButton = true,
  this.minimizedSize = 56,
  this.initiallyMinimized = false,
  this.displayStats = kDefaultDisplayStats,
  this.controller,
});