Google Dart Only Show Specific DropDown Child Elements

后端 未结 2 839
旧巷少年郎
旧巷少年郎 2021-01-29 11:15

I\'m attempting to get only certain values from a drop-down by hiding a select few. Apparently I cannot go over an array index of 3 or nothing shows up and obviously not below

2条回答
  •  不知归路
    2021-01-29 11:25

    This would only go over the items after the 3rd as sublist would remove the first 3 list elements.

    _predefinedFilterList.sublist(3).forEach((map) => print(map["displayName"]));
    

提交回复
热议问题