toThumbStyle function
Implementation
ThumbStyle toThumbStyle(int? index) {
switch (index) {
case 0:
return ThumbStyle.thumbs;
case 1:
return ThumbStyle.banana;
}
return ThumbStyle.unknown;
}
ThumbStyle toThumbStyle(int? index) {
switch (index) {
case 0:
return ThumbStyle.thumbs;
case 1:
return ThumbStyle.banana;
}
return ThumbStyle.unknown;
}