zulip/zulip-flutter
在 GitHub 查看tests: Get route-transition duration robustly, instead of hard-coding
Open
#1,668 创建于 2025年7月4日
a-testshelp wanted
仓库指标
- Star
- (454 star)
- PR 合并指标
- (PR 指标待抓取)
描述
When https://github.com/flutter/flutter/pull/171109 lands, we should use the new TransitionDurationObserver instead of hard-coding what we expect a transition duration to be, e.g. in code like this:
// sheet appears onscreen; default duration of bottom-sheet enter animation
await tester.pump(const Duration(milliseconds: 250));
Once that's the norm instead of the exception, we can close this issue.