# dropDownItem method

Widget dropDownItem ()

## Implementation

    Widget dropDownItem() {
      return DropdownButton<TupleTheme>(
        value: dropdownValue,
        icon: Icon(
          FontAwesomeIcons.caretDown,
          color: Theme.of(context).accentColor,
        ),
        iconSize: 16,
        elevation: 16,
        style: TextStyle(color: Theme.of(context).primaryColor),
        underline: Container(
          height: 2,
          color: Theme.of(context).accentColor,
        ),
        onChanged: (TupleTheme newValue) {
          setState(() {
            dropdownValue = newValue;
            DynamicTheme.of(context).setThemeData(newValue.theme);
          });
          saveTheme(newValue.name);
        },
        items: ThemeNames.map<DropdownMenuItem<TupleTheme>>((TupleTheme value) {
          return DropdownMenuItem<TupleTheme>(
            value: value,
            child: Text(value.name,
                style: TextStyle(
                    fontSize: 16, color: Theme.of(context).primaryColor)),
          );
        }).toList(),
      );
    }