AutoCompleteTheme class

Theme configuration for AutoComplete widget styling and behavior.

Defines the visual appearance and positioning of the autocomplete popover that displays suggestions. All properties are optional and will fall back to sensible defaults when not specified.

This theme can be applied globally through ComponentTheme or passed directly to individual AutoComplete widgets for per-instance customization.

Constructors

AutoCompleteTheme({BoxConstraints? popoverConstraints, PopoverConstraint? popoverWidthConstraint, AlignmentDirectional? popoverAnchorAlignment, AlignmentDirectional? popoverAlignment, AutoCompleteMode? mode})
Creates an AutoCompleteTheme.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
mode → AutoCompleteMode?
Default mode for how suggestions are applied to text fields.
final
popoverAlignment → AlignmentDirectional?
Alignment point on the popover that aligns with the anchor point.
final
popoverAnchorAlignment → AlignmentDirectional?
Alignment point on the anchor widget where the popover attaches.
final
popoverConstraints → BoxConstraints?
Constraints applied to the autocomplete popover container.
final
popoverWidthConstraint → PopoverConstraint?
Width constraint strategy for the autocomplete popover.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({ValueGetter<BoxConstraints?>? popoverConstraints, ValueGetter<PopoverConstraint?>? popoverWidthConstraint, ValueGetter<AlignmentDirectional?>? popoverAnchorAlignment, ValueGetter<AlignmentDirectional?>? popoverAlignment, ValueGetter<AutoCompleteMode?>? mode}) → AutoCompleteTheme
Creates a copy of this theme with specified properties overridden.
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.
override