builder method

  1. @override
Widget builder(
  1. BuildContext context,
  2. ContextMenuState menuState
)
override

Builds the widget representation of the context menu entry.

  • context - The context of the widget.
  • menuState - The state of the current context menu.

Implementation

@override
Widget builder(BuildContext context, ContextMenuState menuState) {
  return Divider(
    height: height ?? 8.0,
    thickness: thickness ?? 0.0,
    indent: indent,
    endIndent: endIndent,
    color: color,
  );
}