Skip to content

Commit

Permalink
Allow deprecated members
Browse files Browse the repository at this point in the history
  • Loading branch information
simplezhli committed Feb 19, 2024
1 parent bc28a97 commit 93c340e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ analyzer:
strict-inference: true
strict-raw-types: true
errors:
# allow self-reference to deprecated members (we do this because otherwise we have
# to annotate every member in every test, assert, etc, when we deprecate something)
# allow deprecated members (we do this because otherwise we have to annotate
# every member in every test, assert, etc, when we or the Dart SDK deprecates
# something (https://github.com/flutter/flutter/issues/143312)
deprecated_member_use: ignore
deprecated_member_use_from_same_package: ignore
# Turned off until null-safe rollout is complete.
# unnecessary_null_comparison: ignore
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies:
# Flutter 轮播图 https://github.com/mdddj/flutter_swiper_null_safety
flutter_swiper_null_safety_flutter3: ^4.0.0 # flutter_swiper很久不维护,可以使用这个替代
# 启动URL的插件(支持Web) https://github.com/flutter/packages/tree/main/packages/url_launcher
url_launcher: 6.1.8
url_launcher: 6.2.4
# 图片选择插件 https://github.com/flutter/packages/tree/main/packages/image_picker
image_picker: 1.0.4
# 侧滑删除 https://github.com/letsar/flutter_slidable
Expand Down
1 change: 1 addition & 0 deletions test_driver/goods/goods_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ void main() {
await driver.tap(find.text('待售'));
await delayed();
final SerializableFinder pageView = find.byValueKey('pageView');
await driver.waitFor(pageView);
await driver.scroll(pageView, 400.0, 0, scrollDuration);
await delayed();

Expand Down

0 comments on commit 93c340e

Please sign in to comment.