NativeMenuItem.withRawIcon constructor

NativeMenuItem.withRawIcon({
  1. required String title,
  2. String? action,
  3. bool isEnable = true,
  4. required Uint8List? rawIcon,
  5. NativeMenu? subMenu,
})

Implementation

NativeMenuItem.withRawIcon({required this.title, this.action, this.isEnable = true, required this.rawIcon, this.subMenu})
    : type = MenuItemType.menu,
      icon = null;