ContextMenuLayout constructor

const ContextMenuLayout({
  1. Key? key,
  2. required Widget child,
  3. required Rect globalRegion,
  4. required Rect targetRegion,
  5. required Offset targetOffset,
  6. EdgeInsets padding = const EdgeInsets.all(12),
  7. AlignmentGeometry aligment = AlignmentDirectional.topEnd,
  8. AlignmentGeometry originAligment = AlignmentDirectional.topStart,
})

Implementation

const ContextMenuLayout({
  Key? key,
  required this.child,
  required this.globalRegion,
  required this.targetRegion,
  required this.targetOffset,
  this.padding = const EdgeInsets.all(12),
  this.aligment = AlignmentDirectional.topEnd,
  this.originAligment = AlignmentDirectional.topStart,
}) : super(key: key);