📜  列表中的下拉项颤动 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:25.289000             🧑  作者: Mango

代码示例1
List> getDropdownItems() {
    List> dropDownItems = [];

    for (String currency in currenciesList) {
      var newDropdown = DropdownMenuItem(
        child: Text(currency),
        value: currency,
      );

      dropDownItems.add(newDropdown);
    }
    return dropDownItems;
  }