RuntimeInsightOverlay constructor
const
RuntimeInsightOverlay({
- Key? key,
- Stream<
AppResourceSnapshot> ? stream, - AppResourceMonitoringConfig? config,
- int maxPoints = 60,
- double width = 280,
- double height = 300,
- bool showCloseButton = true,
- bool showPauseButton = true,
- bool showOpacitySlider = true,
- bool allowDrag = true,
- String? persistenceKey,
- bool persistPosition = true,
- bool persistOpacity = true,
- RuntimeInsightOverlayStrings? strings,
- VoidCallback? onClose,
- EdgeInsets margin = const EdgeInsets.all(12),
- Color? backgroundColor,
- bool showMinimizeButton = true,
- double minimizedSize = 56,
- bool initiallyMinimized = false,
- Set<
OverlayDisplayStat> displayStats = kDefaultDisplayStats, - 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,
});