buildItemView method

  1. @override
Widget buildItemView(
  1. E? item,
  2. int position
)
override

Implementation

@override
Widget buildItemView(E? item, int position) {
  var holder = ItemHolder(item, position, this);
  // [HolderPort]与上层建立视图进行绑定
  state?._addHolder(position, holder);
  return GestureWrapper(
    item,
    position,
    gestureItem: _gestureCallback,
    child: holder,
    eventsBinder: this,
  );
}