CompletionConfig class

Constructors

CompletionConfig({bool activateOnTyping = true, bool activateOnCompletion(Completion completion) = _defaultActivateOnCompletion, int activateOnTypingDelay = 100, bool selectOnOpen = true, List<CompletionSource>? override, bool closeOnBlur = true, int maxRenderedOptions = 100, bool defaultKeymap = true, bool aboveCursor = false, String tooltipClass(EditorState state) = _defaultTooltipClass, String optionClass(Completion completion) = _defaultOptionClass, bool icons = true, List<AddToOption> addToOptions = const [], PositionInfoResult positionInfo(Rect list, Rect option, Rect info, Rect space) = _defaultPositionInfo, int compareCompletions(Completion a, Completion b) = _defaultCompareCompletions, bool filterStrict = false, int interactionDelay = 75, int updateSyncTime = 100})
const

Properties

aboveCursor → bool
final
activateOnCompletion → bool Function(Completion completion)
final
activateOnTyping → bool
final
activateOnTypingDelay → int
final
addToOptions → List<AddToOption>
final
closeOnBlur → bool
final
compareCompletions → int Function(Completion a, Completion b)
final
defaultKeymap → bool
final
filterStrict → bool
final
hashCode → int
The hash code for this object.
no setterinherited
icons → bool
final
interactionDelay → int
final
maxRenderedOptions → int
final
optionClass → String Function(Completion completion)
final
override → List<CompletionSource>?
final
positionInfo → PositionInfoResult Function(Rect list, Rect option, Rect info, Rect space)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectOnOpen → bool
final
tooltipClass → String Function(EditorState state)
final
updateSyncTime → int
final

Methods

copyWith({bool? activateOnTyping, bool activateOnCompletion(Completion completion)?, int? activateOnTypingDelay, bool? selectOnOpen, List<CompletionSource>? override, bool? closeOnBlur, int? maxRenderedOptions, bool? defaultKeymap, bool? aboveCursor, String tooltipClass(EditorState state)?, String optionClass(Completion completion)?, bool? icons, List<AddToOption>? addToOptions, PositionInfoResult positionInfo(Rect, Rect, Rect, Rect)?, int compareCompletions(Completion, Completion)?, bool? filterStrict, int? interactionDelay, int? updateSyncTime}) → CompletionConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited