NomoContextMenu constructor

const NomoContextMenu({
  1. required List<Widget> actions,
  2. required Color backgroundColor,
  3. EdgeInsets padding = const EdgeInsets.all(12),
  4. BorderRadiusGeometry borderRadius = const BorderRadius.all(Radius.circular(12)),
  5. List<Widget> children = const [],
  6. double itemHeight = 48,
  7. double actionWidth = 48,
  8. double actionSpacing = 8,
  9. double childrenSpacing = 8,
  10. double width = 200,
  11. double childHeight = 48,
  12. Key? key,
})

Implementation

const NomoContextMenu({
  required this.actions,
  required this.backgroundColor,
  this.padding = const EdgeInsets.all(12),
  this.borderRadius = const BorderRadius.all(Radius.circular(12)),
  this.children = const [],
  this.itemHeight = 48,
  this.actionWidth = 48,
  this.actionSpacing = 8,
  this.childrenSpacing = 8,
  this.width = 200,
  this.childHeight = 48,
  super.key,
});