SuggestionsBoxDecoration class Null safety

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, Clip clipBehavior = Clip.none, 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
clipBehavior Clip
The content will be clipped (or not) according to this option. [...]
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
hashCode int
The hash code for this object. [...]
read-only, inherited
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.
read-only, inherited
shadowColor Color
The color to paint the shadow below the material. [...]
final
shape ShapeBorder?
Defines the material's shape as well its shadow. [...]
final

Methods

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

Operators

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