AnchoredPopupMenuStyle constructor

const AnchoredPopupMenuStyle({
  1. EdgeInsetsGeometry padding = _anchoredPopupMenuPadding,
  2. Duration transitionDuration = _anchoredPopupMenuAnimationDuration,
  3. double elevation = 4,
  4. Color? color,
  5. Color? shadowColor,
  6. Color surfaceTintColor = Colors.transparent,
  7. ShapeBorder shape = _anchoredPopupMenuShape,
})

Creates the visual styling for an anchored popup menu.

Implementation

const AnchoredPopupMenuStyle({
  this.padding = _anchoredPopupMenuPadding,
  this.transitionDuration = _anchoredPopupMenuAnimationDuration,
  this.elevation = 4,
  this.color,
  this.shadowColor,
  this.surfaceTintColor = Colors.transparent,
  this.shape = _anchoredPopupMenuShape,
}) : assert(elevation >= 0);