CupertinoSuggestionsBoxDecoration class
Supply an instance of this class to the TypeAhead.suggestionsBoxDecoration
property to configure the suggestions box decoration
Constructors
- CupertinoSuggestionsBoxDecoration({bool hasScrollbar = true, BoxConstraints? constraints, Color? color, BoxBorder? border, BorderRadiusGeometry? borderRadius, double offsetX = 0.0, bool scrollbarThumbAlwaysVisible = false})
-
Creates a CupertinoSuggestionsBoxDecoration
const
Properties
- border → BoxBorder?
-
final
- borderRadius → BorderRadiusGeometry?
-
final
- color → Color?
-
final
- constraints → BoxConstraints?
-
The constraints to be applied to the suggestions box
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasScrollbar → bool
-
Defines if a scrollbar will be displayed or not.
final
- offsetX → double
-
Adds an offset to the suggestions box
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollbarThumbAlwaysVisible → bool
-
If set to true, the scrollbar thumb in the suggestion list will always be visible
evnen when not scrolling.
final
Methods
-
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