NomoContextMenu constructor
const
NomoContextMenu({
- required List<
Widget> actions, - required Color backgroundColor,
- EdgeInsets padding = const EdgeInsets.all(12),
- BorderRadiusGeometry borderRadius = const BorderRadius.all(Radius.circular(12)),
- List<
Widget> children = const [], - double itemHeight = 48,
- double actionWidth = 48,
- double actionSpacing = 8,
- double childrenSpacing = 8,
- double width = 200,
- double childHeight = 48,
- 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,
});