title: Drodownbutton example using flutter bloc architecture
body: <p>I tried with below code.</p>
  
  <pre><code>StreamBuilder(
      stream: _preferenseBloc.textStream,
      builder: (BuildContext context,
          AsyncSnapshot&lt;String&gt; snapshot) {
          return DropdownButton&lt;String&gt;(
          elevation: 0,
          value: snapshot.data,
          //hint: Text("Monthly"),
          items: listDrop,
          onChanged: (String newvalue) {
              dropdownValue= newvalue;
              // _preferenseBloc.dropdownValue(value);
          },
          //value: dropdownValue,
          );
      },
  ),
  </code></pre>
  
  <p>I am unable select the Dropdownvalue using bloc architecture in flutter.</p>