textDropDown method

VxTextDropDown textDropDown(
  1. {@required String selectedValue,
  2. @required ValueChanged<String> onChanged}
)

Extension method to directly access VxTextDropDown with any widget without wrapping or with dot operator.

The selectedValue should be a part of the list of strings.

Implementation

VxTextDropDown textDropDown(
        {@required String selectedValue,
        @required ValueChanged<String> onChanged}) =>
    VxTextDropDown(this, selectedValue: selectedValue, onChanged: onChanged);