Comments (10)
@18335180686
#13 合入的develop_nullsafety
分支,需要你使用 git 依赖。
dependency_overrides:
flutter_ume:
git: https://github.com/bytedance/flutter_ume.git
ref: develop_nullsafety
目前看你贴的应该是使用的 pub 依赖?方便检查一下 pubspec.yaml
文件吗?
from flutter_ume.
#17 (comment)
flutter_ume_kit_console,这个插件是不是也得改成git的地址啊?
from flutter_ume.
#17 (comment)
flutter_ume_kit_console,这个插件是不是也得改成git的地址啊?
不需要的,override flutter_ume
就可以了
from flutter_ume.
#17 (comment)
哦哦 那还是存在弹窗不能关闭的问题
from flutter_ume.
#17 (comment)
哦哦 那还是存在弹窗不能关闭的问题
那方便提供下你打开弹窗/关闭弹窗的代码吗?我在 flutter_ume 的 example 工程中测试过使用 awesome_dialog
打开弹窗/关闭弹窗是正常的
from flutter_ume.
@18335180686 在 flutter_ume 的 example 工程中,已经有使用 awesome_dialog
打开弹窗的例子了,你运行一下试试看?
from flutter_ume.
@18335180686 在 flutter_ume 的 example 工程中,已经有使用
awesome_dialog
打开弹窗的例子了,你运行一下试试看?
使用系统自带的dialog是好使的,使用awesome_dialog插件就不好使了,下面是系统和awesome_dialog插件的使用代码,视频是这两个dialog分别的表象。
showDialog(
context: context,
builder: (ctx) => AlertDialog(
title: const Text('这条帖子将被永久删除,任何人都不会再看到这条帖子,包括你自己。是否继续?'),
actions: <Widget>[
TextButton(
onPressed: () => Navigator.pop(context),
child: const Text('取消'))
],
),
useRootNavigator: false);
AwesomeDialog(
context: context,
animType: AnimType.BOTTOMSLIDE,
headerAnimationLoop: true,
dialogType: DialogType.INFO,
body: dialogContent(content: "这条帖子将被永久删除,任何人都不会再看到这条帖子,包括你自己。是否继续?"),
btnOkOnPress: () {
},
btnOkText: "取消",
useRootNavigator: false)
..show();
1628564509269328.mp4
from flutter_ume.
Screen_Recording_20210810-141413.mp4
@18335180686 我在 example 工程中测试了同样的代码,是正常的。你更新了以来之后可能没有执行 flutter pub get?我将完整的 example 中的示例 push 到了本仓库的 temp/test_for_issue17
, 你 clone 下本仓库,对照看下 example 有没有什么区别?
from flutter_ume.
#17 (comment)
flutter_ume_kit_console,这个插件是不是也得改成git的地址啊?
dependency_overrides:
flutter_ume:
git:
url: https://github.com/bytedance/flutter_ume.git
ref: develop_nullsafety
另外之前这里写的有点问题,少加了一行 git:。原来的写法,pub get 是执行不过去的。
from flutter_ume.
ok 好了 谢谢
from flutter_ume.
Related Issues (20)
- Error: The method 'OpacitySliderTrack.paint' doesn't have the named parameter 'secondaryOffset' of overridden method 'SliderTrackShape.paint'. HOT 2
- 为什么内存监控看不到信息呢,具体需要配置vm service的啥东西,怎么配置呢 HOT 1
- 自定义插件中使用TextField,输入文字后不能删除 HOT 3
- UME Support for Dio 5+ HOT 1
- 仅dev_dependencies依赖库,release包是没有依赖但是import了,不会崩溃吗?
- Compatibility issue on FlutterSDK 3.10
- [DioInspector]: flutter_ume_kit_dio always shows “Come back later ...” HOT 2
- dependency conflict after upgrading flutter_ume to 1.1.2 HOT 1
- flutter_ume_kit_ui 和系统的SearchBar冲突 HOT 3
- 能否让flutter_ume_kit_dio 适配dio5 api HOT 2
- Flutter 1.17.1 下集成失败,无法找到
- [BUG] flutter_ume_kit_dio_plus 解析请求头出错
- app切后台再切回时ume插件报空指针异常导致app崩溃
- UMEWidget的构造方法使用const修饰后enable属性无法传入动态值以修改,麻烦去掉构造方法前的const修饰符。
- Flutter version 3.16.2 报错了
- flutter_ume_kit_perf 在flutter 3.19.0+ 版本后报错 HOT 2
- UME是否还在继续维护?如果不再维护,是否可以交给社区? HOT 1
- flutter_ume_kit_console适配第三方日志插件logger问题 HOT 3
- Error when flutter upgrade to 3.7.1 HOT 2
- no versions of flutter_ume_kit_perf match >1.0.0 <2.0.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_ume.