SuggestionsBoxDecoration class
Supply an instance of this class to the TypeAhead.suggestionsBoxDecoration
property to configure the suggestions box decoration
Constructors
- SuggestionsBoxDecoration.new({double elevation = 4.0, Color? color, ShapeBorder? shape, bool hasScrollbar = true, BorderRadius? borderRadius, Color shadowColor = const Color(0xFF000000), BoxConstraints? constraints})
-
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
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasScrollbar → bool
-
Defines if a scrollbar will be displayed or not.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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 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