QuickPickItem constructor

QuickPickItem({
  1. String? label,
  2. QuickPickItemKind? kind,
  3. Object? iconPath,
  4. String? description,
  5. String? detail,
  6. bool? picked,
  7. bool? alwaysShow,
  8. List<QuickInputButton>? buttons,
})

Implementation

factory QuickPickItem({
  _i2.String? label,
  _i3.QuickPickItemKind? kind,
  _i2.Object? iconPath,
  _i2.String? description,
  _i2.String? detail,
  _i2.bool? picked,
  _i2.bool? alwaysShow,
  _i2.List<_i3.QuickInputButton>? buttons,
}) =>
    QuickPickItem._(
      label: label,
      kind: kind?.name,
      iconPath: iconPath ?? _i6.undefined,
      description: description,
      detail: detail,
      picked: picked,
      alwaysShow: alwaysShow,
      buttons: buttons ?? _i6.undefined,
    );