TDMultiPicker constructor

const TDMultiPicker({
  1. required String? title,
  2. required MultiPickerCallback? onConfirm,
  3. MultiPickerCallback? onCancel,
  4. required List<List<String>> data,
  5. required double pickerHeight,
  6. required int pickerItemCount,
  7. List<int>? initialIndexes,
  8. TextStyle? leftTextStyle,
  9. TextStyle? rightTextStyle,
  10. TextStyle? centerTextStyle,
  11. double? titleHeight,
  12. double? topPadding,
  13. double? leftPadding,
  14. double? rightPadding,
  15. Color? titleDividerColor,
  16. Color? backgroundColor,
  17. double? topRadius,
  18. EdgeInsets? padding,
  19. ItemDistanceCalculator? itemDistanceCalculator,
  20. Widget? customSelectWidget,
  21. Key? key,
})

Implementation

const TDMultiPicker(
    {required this.title,
    required this.onConfirm,
    this.onCancel,
    required this.data,
    required this.pickerHeight,
    required this.pickerItemCount,
    this.initialIndexes,
    this.leftTextStyle,
    this.rightTextStyle,
    this.centerTextStyle,
    this.titleHeight,
    this.topPadding,
    this.leftPadding,
    this.rightPadding,
    this.titleDividerColor,
    this.backgroundColor,
    this.topRadius,
    this.padding,
    this.itemDistanceCalculator,
    this.customSelectWidget,
    Key? key})
    : super(key: key);