getSelectedItem method

Widget getSelectedItem(
  1. GlobalKey<DirectSelectItemState> animatedStateKey,
  2. dynamic paddingGlobalKey
)

Implementation

Widget getSelectedItem(GlobalKey<DirectSelectItemState> animatedStateKey,
    dynamic paddingGlobalKey) {
  return RectGetter(
    key: paddingGlobalKey,
    child: DirectSelectItem<T>(
      value: value,
      key: animatedStateKey,
      itemHeight: itemHeight,
      itemBuilder: itemBuilder,
      isSelected: true,
    ),
  );
}