antler119 / system_tray

A Flutter package that makes it easy to customize and work with your Flutter desktop app's system tray.
MIT License
214 stars 51 forks source link

build error on flutter 2.13.0-0.3.pre #42

Closed qcdong2016 closed 2 years ago

qcdong2016 commented 2 years ago

system_tray-0.1.0/lib/src/tray.dart:9:1: Error: 'MenuItem' is imported from both 'package:flutter/src/widgets/platform_menu_bar.dart' and 'package:system_tray/src/menu_item.dart'.

dodatw commented 2 years ago

It also happen on flutter 3.0

itning commented 2 years ago

It also happen on flutter 3.0

Temporary workaround:

dependencies:
  system_tray:
    git:
      url: https://github.com/antler119/system_tray.git
      ref: main
SteveCruise commented 2 years ago

Why not upgrade version