TerminalIsolate constructor

TerminalIsolate({
  1. TerminalBackend? backend,
  2. BellHandler onBell = _defaultBellHandler,
  3. TitleChangeHandler onTitleChange = _defaultTitleHandler,
  4. IconChangeHandler onIconChange = _defaultIconHandler,
  5. PlatformBehavior platform = PlatformBehaviors.unix,
  6. TerminalTheme theme = TerminalThemes.defaultTheme,
  7. Duration minRefreshDelay = const Duration(milliseconds: 16),
  8. required int maxLines,
})

Implementation

TerminalIsolate({
  this.backend,
  this.onBell = _defaultBellHandler,
  this.onTitleChange = _defaultTitleHandler,
  this.onIconChange = _defaultIconHandler,
  PlatformBehavior platform = PlatformBehaviors.unix,
  this.theme = TerminalThemes.defaultTheme,
  this.minRefreshDelay = const Duration(milliseconds: 16),
  required this.maxLines,
})  : _platform = platform,
      _refreshEventDebouncer = EventDebouncer(minRefreshDelay);