TDItemWidget constructor

const TDItemWidget({
  1. required FixedExtentScrollController fixedExtentScrollController,
  2. required int index,
  3. required String content,
  4. required double itemHeight,
  5. ItemDistanceCalculator? itemDistanceCalculator,
  6. Key? key,
})

Implementation

const TDItemWidget(
    {required this.fixedExtentScrollController,
    required this.index,
    required this.content,
    required this.itemHeight,
    this.itemDistanceCalculator,
    Key? key})
    : super(key: key);