1.0.9 • Published 6 years ago
segmentcontrol v1.0.9
tintColor
Accent color of the control - String Default is ‘blue’
masterColor
Color of the title in segment. - String Default is ‘white’
selectedSegment
Send the index of the segment which is to be selected initially - Int Default is 0 (First segment)
segmentTitles
Title for each segment - Array of String
eg., ‘All’, ‘Missed’, ‘Received’
onClick
Callback that is called when the user taps a segment and passes the index of the segment