Skip to content

Commit e0d8256

Browse files
committed
refactor(widget): 在AssetPickerPageRoute构造函数中添加super.settings
为了增强路由配置的灵活性,允许通过构造函数传递 settings ,以便在页面统计时,获取到 settings 相关信息
1 parent 9130db2 commit e0d8256

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/widget/asset_picker_page_route.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class AssetPickerPageRoute<T> extends PageRoute<T> {
2323
this.maintainState = true,
2424
this.opaque = true,
2525
this.canTransitionFromPredicate,
26+
super.settings,
2627
});
2728

2829
final WidgetBuilder builder;

0 commit comments

Comments
 (0)