captureInheritedThemes property
If true (the default) then the menu will be wrapped with copies
of the InheritedThemes
, like Theme and PopupMenuTheme, which
are defined above the BuildContext where the menu is shown.
Implementation
final bool captureInheritedThemes;