,//控制从头还是从尾开始滚动,默认false,即从头开始滚动
this.padding,//插入子组件时的内边距
bool primary,//是否是与父级关联的主滚动视图
this.physics...,//设置滚动效果
this.controller,//控制滚动位置,当primary为true时,controller必须为null
this.child,//列表项内容
this.dragStrartBehavior...,//控制从头还是从尾开始滚动,默认false,即从头开始滚动
ScrollController controller,//控制滚动位置,当primary为true时,controller必须为...,//是否保持滚动位置
this.debugLabel,
})
当keepScrollOffset的属性值为true时,可滚动组件的滚动位置会被存储到PageStorage中,当可滚动组件重新创建时可以使用...bool addAutomaticKeepAlives = true,//是否将列表项包裹在AutomaticKeepAlive组件中,默认值为true,表示列表项滑出视图窗口时不会被垃圾回收,会保存之前的状态