azlistview
azlistview copied to clipboard
怎么与SmartRefreer和Sing了ScrollView以及CustomerScrollView结合使用
与SmartRefreer和Sing了ScrollView以及CustomerScrollView结合使用的时候会报错,导致我做不了分页与下拉刷新
请确认刷新控件是否支持scrollable_positioned_list。
SingleScrollView以及CustomerScrollView也不支持吗?
SingleScrollView以及CustomerScrollView也不支持吗?,类似下面的用法
SingleChildScrollView( child: Container( height:S.H, child: AzListView( data: model.list, itemCount: model.list.length, itemBuilder: (BuildContext context, int index) { SupplierEntity _itemData = model.list[index]; return _listItem(_itemData); }, susItemBuilder: (BuildContext context, int index) { SupplierEntity _itemData = model.list[index]; if ('↑' == _itemData.getSuspensionTag()) { return Container(); } return ViewUtils.getSusItem( context, _itemData.getSuspensionTag()); }, indexBarData: ['↑', '☆', ...kIndexBarData], indexBarOptions: IndexBarOptions( needRebuild: true, ignoreDragCancel: true, downTextStyle: TextStyle(fontSize: 12, color: Colors.white), downItemDecoration: BoxDecoration( shape: BoxShape.circle, color: Colors.green), indexHintWidth: 120 / 2, indexHintHeight: 100 / 2, indexHintDecoration: BoxDecoration( image: DecorationImage( image: AssetImage( 'ic_index_bar_bubble_gray.png'.imageUrlWrapper()), fit: BoxFit.contain, ), ), indexHintAlignment: Alignment.centerRight, indexHintChildAlignment: Alignment(-0.25, 0.0), indexHintOffset: Offset(-20, 0), ), ), ), )