-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BrnBottomWritePicker 调用异常 #240
Comments
@MeiChao |
@violinday 你好 BrnBottomWritePicker.show( 点击BrnBottomWritePicker.show弹窗 项目中Bruno 版本: dependencies: Flutter Doctor 信息: 机型 HUAWEI Mate 20 |
你好,我们努力尝试复现,在相似机型中目前没有发现该问题,该 issue 保留我们将继续观察反馈 |
@zhoujuanjuan 修改建议: [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: BrnBottomPickerWidgetState#5fa81(tickers: tracking 1 ticker) was disposed with an active Ticker. Tickers used by AnimationControllers should be disposed by calling dispose() on the AnimationController itself. Otherwise, the ticker will leak. brn_bottom_picker.dart dispose方法 _controller.dispose(); 要在super.dispose();之前调用 @OverRide |
已修复,感谢反馈 |
问题提交
标题格式:[BUG]:
Unhandled Exception: BrnBottomPickerWidgetState#01adf(tickers: tracking 1 ticker) was disposed with an active Ticker.
内容需包含:
1、BUG 描述
2、复现步骤
BrnBottomWritePicker.show(
context,
title: '这里是标题',
hintText: '请输入',
cancelDismiss: true,
confirmDismiss: false,
onConfirm: (context, string) {
BrnToast.show(string ?? '', context);
return;
},
onCancel: (_) {
Navigator.of(context).pop();
return;
},
defaultText: "",
);
点击空白处关闭弹窗异常
3、期望行为
4、运行环境
5、附加信息
包括视频、图片等补充信息
The text was updated successfully, but these errors were encountered: