suggestionsDecoration property

BoxDecoration? suggestionsDecoration
final

Specifies BoxDecoration for suggestion list. The property can be used to add BoxShadow, BoxBorder and much more. For more information, checkout BoxDecoration.

Default value,

BoxDecoration(
  color: Theme.of(context).colorScheme.surface,
  boxShadow: [
    BoxShadow(
      color: onSurfaceColor.withOpacity(0.1),
      blurRadius: 8.0, // soften the shadow
      spreadRadius: 2.0, //extend the shadow
      offset: Offset(
        2.0,
        5.0,
      ),
    ),
  ],
)

Implementation

final BoxDecoration? suggestionsDecoration;