hasLeading abstract method

bool hasLeading(
  1. BuildContext context
)

Whether this menu item has a leading widget.

If hasLeading returns true, siblings of this menu item that are missing a leading widget will have leading space added to align the leading edges of all menu items.

Implementation

bool hasLeading(BuildContext context);