ContextMenuLayout constructor
const
ContextMenuLayout({
- Key? key,
- required Widget child,
- required Rect globalRegion,
- required Rect targetRegion,
- required Offset targetOffset,
- EdgeInsets padding = const EdgeInsets.all(12),
- AlignmentGeometry aligment = AlignmentDirectional.topEnd,
- 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);