MyPopupMenu constructor

const MyPopupMenu({
  1. Key? key,
  2. required Widget child,
  3. Color color = const Color(0xFFFFFFFF),
  4. double borderRadius = 12,
  5. EdgeInsetsGeometry? padding,
  6. Size trianglePointerSize = const Size(20, 10),
  7. double elevation = 10,
  8. double horizontalOffset = 0,
})

Implementation

const MyPopupMenu({
  Key? key,
  required this.child,
  this.color = const Color(0xFFFFFFFF),
  this.borderRadius = 12,
  this.padding,
  this.trianglePointerSize = const Size(20, 10),
  this.elevation = 10,
  this.horizontalOffset = 0,
}) : super(key: key);