We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CustomScrollView has Key? center attribute, please add this, tkx
Key? center
use center eg.
///聊天内容展示 Widget get chatsListWidget { return LoadingMoreCustomScrollView( reverse: true, controller: scroller, center: // <<< - todo add a center key slivers: [ LoadingMoreSliverList(SliverListConfig<ChatItemData>( itemBuilder:renderChatLayoutItem, sourceList: repository, indicatorBuilder: (s, c) => kBuildIndicator(s, c, isSliver: true), extendedListDelegate: const ExtendedListDelegate(closeToTrailing: true), showNoMore: false )), SliverPadding( padding: EdgeInsets.zero, key: centerKey, ), LoadingMoreSliverList(SliverListConfig<ChatItemData>( itemBuilder: renderChatLayoutItem, sourceList: repositoryNew, showNoMore: false, )) ], ); } ///旧版本 Widget get oldVersion { return CustomScrollView( controller: scroller, center: centerKey, slivers: [ // ChatUserDetailCard(model.txModel!.conversationID).toSliverWidget, //旧的聊天记录 SliverPadding( padding: EdgeInsets.zero, key: centerKey, ), //新的聊天记录 const Chats(), ], ); }
The text was updated successfully, but these errors were encountered:
* Add center for LoadingMoreCustomScrollView(#50)
67aad3d
No branches or pull requests
CustomScrollView has
Key? center
attribute, please add this, tkxuse center eg.
The text was updated successfully, but these errors were encountered: