SuggestionsBoxDecoration class

Supply an instance of this class to the TypeAhead.suggestionsBoxDecoration property to configure the suggestions box decoration

Constructors

SuggestionsBoxDecoration({double elevation: 4.0 Color color, ShapeBorder shape, bool hasScrollbar: true, BorderRadius borderRadius, Color shadowColor: const Color(0xFF000000), BoxConstraints constraints, double offsetX: 0.0 })
Creates a SuggestionsBoxDecoration
const

Properties

borderRadius → BorderRadius
If non-null, the corners of this box are rounded by this BorderRadius. [...]
final
color Color
The color to paint the suggestions box. [...]
final
constraints → BoxConstraints
The constraints to be applied to the suggestions box
final
elevation double
The z-coordinate at which to place the suggestions box. This controls the size of the shadow below the box. [...]
final
hasScrollbar bool
Defines if a scrollbar will be displayed or not.
final
offsetX double
Adds an offset to the suggestions box
final
shadowColor Color
The color to paint the shadow below the material. [...]
final
shape → ShapeBorder
Defines the material's shape as well its shadow. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited