hasLeadingWidget property

  1. @override
bool hasLeadingWidget
override

If a menu item has a leading widget, the latter takes a start padding if the padding is large.

Implementation

@override
bool get hasLeadingWidget => controlAffinity == MenuItemControlAffinity.leading;