Logs constructor
const
Logs({
- Key? key,
- required LogTheme theme,
- required LogStorage logStorage,
- Duration minActiveLogDuration = const Duration(milliseconds: 3000),
- Duration activeLogFadeDuration = const Duration(milliseconds: 500),
- Duration scrollToBottomDelay = const Duration(milliseconds: 200),
- Duration scrollToBottomDuration = const Duration(milliseconds: 1000),
- Duration fastScrollToBottomDuration = const Duration(milliseconds: 300),
- void onPaused()?,
- void onResumed()?,
- void onCleared()?,
- void onScrollStart(
- Log log
- void onScrollEnd(
- Log log,
- Object? error,
- StackTrace? stackTrace
- void onRemovedLogsCleared()?,
Implementation
const Logs({
super.key,
required this.theme,
required this.logStorage,
this.minActiveLogDuration = const Duration(milliseconds: 3000),
this.activeLogFadeDuration = const Duration(milliseconds: 500),
this.scrollToBottomDelay = const Duration(milliseconds: 200),
this.scrollToBottomDuration = const Duration(milliseconds: 1000),
this.fastScrollToBottomDuration = const Duration(milliseconds: 300),
this.onPaused,
this.onResumed,
this.onCleared,
this.onScrollStart,
this.onScrollEnd,
this.onRemovedLogsCleared,
});