bytedance / flutter_ume

UME is an in-app debug kits platform for Flutter. Produced by Flutter Infra team of ByteDance
MIT License
2.07k stars 224 forks source link

flutter_ume_kit_ui 和系统的SearchBar冲突 #120

Open persenzhou opened 1 year ago

persenzhou commented 1 year ago

flutter和dart环境

Flutter 3.10.2 • channel stable • https://github.com/flutter/flutter.git Framework • revision 9cd3d0d9ff (9 days ago) • 2023-05-23 20:57:28 -0700 Engine • revision 90fa3ae28f Tools • Dart 3.0.2 • DevTools 2.23.1

dependencies

flutter_ume: ^1.0.1 flutter_ume_kit_ui: ^1.0.0 flutter_ume_kit_device: ^1.0.0 flutter_ume_kit_perf: ^1.0.0 flutter_ume_kit_show_code: ^1.0.0 flutter_ume_kit_console: ^1.0.0 flutter_ume_kit_dio: ^1.0.0

错误日志

Error (Xcode): ../../.pub-cache/hosted/pub.dev/flutter_ume_kit_ui-1.1.0/lib/components/widget_detail_inspector/widget_detail_inspector.dart:202:24: Error: 'SearchBar' is imported from both 'package:flutter/src/material/search_anchor.dart' and 'package:flutter_ume_kit_ui/components/widget_detail_inspector/search_bar.dart'.

ehangwork commented 1 year ago

同样问题,希望尽快得到修复

Moshimol commented 1 year ago

有解决吗? 如何处理呢?

bxxasn commented 1 year ago

现在flutter_ume_kit_ui用了1.1.0也不行.