INNER CODE UNIT · Dart

SuggestionPortal

TerminalStudio/xterm.dart · lib/suggestion.dart:21

class SuggestionPortal extends StatefulWidget {
  const SuggestionPortal({
    super.key,
    required this.controller,
    required this.overlayBuilder,
    required this.child,
    this.padding = const EdgeInsets.all(8),
    this.cursorMargin = const EdgeInsets.all(4),
  });

  final SuggestionPortalController controller;

  final WidgetBuilder overlayBuilder;

  /// The minimum space between [child] and the screen edge.
  final EdgeInsets padding;

  /// The minimum space between [child] and the cursor. Currently, only top and

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…