ConversationsView.arguments constructor
ConversationsView.arguments(
- ConversationsViewArguments arguments, {
- Key? key,
会话列表构造方法,如果需要自定义会话列表可以使用这个方法。具体参考 ConversationsViewArguments。
Implementation
ConversationsView.arguments(ConversationsViewArguments arguments, {super.key})
: itemBuilder = arguments.itemBuilder,
beforeWidgets = arguments.beforeWidgets,
afterWidgets = arguments.afterWidgets,
onSearchTap = arguments.onSearchTap,
searchBarHideText = arguments.searchBarHideText,
emptyBackground = arguments.emptyBackground,
onItemTap = arguments.onItemTap,
onItemLongPressHandler = arguments.onItemLongPressHandler,
appBarModel = arguments.appBarModel,
controller = arguments.controller,
enableAppBar = arguments.enableAppBar,
enableSearchBar = arguments.enableSearchBar,
viewObserver = arguments.viewObserver,
moreActionsBuilder = arguments.moreActionsBuilder,
enablePinHighlight = arguments.enablePinHighlight,
backgroundWidget = arguments.backgroundWidget,
attributes = arguments.attributes;