Logs constructor

const Logs({
  1. Key? key,
  2. required LogTheme theme,
  3. required LogStorage logStorage,
  4. Duration minActiveLogDuration = const Duration(seconds: 3),
  5. Duration scrollToBottomDuration = const Duration(milliseconds: 1000),
  6. void onPaused()?,
  7. void onResumed()?,
  8. void onCleared()?,
  9. void onScrollStart(
    1. Log log
    )?,
  10. void onScrollEnd(
    1. Log log,
    2. Object? error,
    3. StackTrace? stackTrace
    )?,
  11. void onRemovedLogsCleared()?,
})

Implementation

const Logs({
  super.key,
  required this.theme,
  required this.logStorage,
  this.minActiveLogDuration = const Duration(seconds: 3),
  this.scrollToBottomDuration = const Duration(milliseconds: 1000),
  this.onPaused,
  this.onResumed,
  this.onCleared,
  this.onScrollStart,
  this.onScrollEnd,
  this.onRemovedLogsCleared,
});