BetterPickerItem constructor

BetterPickerItem({
  1. required String text,
  2. required String value,
  3. TextStyle? textStyle,
  4. List<BetterPickerItem>? children,
  5. bool? isSelected,
})

创建一个 BetterPickerItem

Implementation

BetterPickerItem({
  required this.text,
  required this.value,
  this.textStyle,
  this.children,
  this.isSelected,
});