SegmentedControlSegment Object
label
string (optional) -The text to appear in this segment.要在此分段中显示的文本。icon
NativeImage (optional) -The image to appear in this segment.要在此片段中显示的图像。enabled
boolean (optional) -Whether this segment is selectable.此分段是否可选择。Default: true.默认值:true
。