INNER CODE UNIT · Dart

SuggestionLayout

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

class SuggestionLayout extends SingleChildRenderObjectWidget {
  SuggestionLayout({
    super.child,
    required this.cursorRect,
    required this.padding,
    required this.cursorMargin,
  });

  /// The location of the cursor relative to the top left corner of this widget.
  final ValueListenable<Rect> cursorRect;

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

  /// The minimum space between [child] and the cursor. Currently, only top and
  /// bottom are used.
  final EdgeInsets cursorMargin;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…