OnMenuItemInterceptor typedef

OnMenuItemInterceptor = bool Function(int index)

menu 点击拦截回调 index menu 的索引位置 返回 true 拦截点击方法,false 不拦截

Implementation

typedef OnMenuItemInterceptor = bool Function(int index);