<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Flutter How to print selected value on textfield when keyboard is hide in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Flutter-How-to-print-selected-value-on-textfield-when-keyboard/m-p/482776#M24311</link>
    <description>&lt;P&gt;This is the forum for&amp;nbsp;Dropbox and the&amp;nbsp;Dropbox API, but it doesn't look like your question is related to&amp;nbsp;Dropbox or the&amp;nbsp;Dropbox API. You seem to be asking about Flutter, which isn't made by Dropbox. You may want to post on a forum for Flutter instead.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Dec 2020 14:54:03 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-12-29T14:54:03Z</dc:date>
    <item>
      <title>Flutter How to print selected value on textfield when keyboard is hide</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Flutter-How-to-print-selected-value-on-textfield-when-keyboard/m-p/482702#M24310</link>
      <description>&lt;P&gt;hellow thank you in advance can you help me....! i made dropbox under the textfield..and in that case...i dont want keyboard...! but when i selecte value from my items then that value is not printed on my textfield...! let me explain you as live... if you are a existing custmor the value is shown on textfield and when you select value MALE FEMALE is not going to change.....! if i remove the onTap() {} from my textfield its going to change...! &lt;A href="https://exonlinecalculator.com/" target="_self"&gt;what should i do&lt;/A&gt; now i stuck here since 2,3 days&lt;BR /&gt;look at my code&lt;/P&gt;&lt;P&gt;@override&lt;BR /&gt;Widget build(BuildContext context) {&lt;BR /&gt;return Scaffold(&lt;BR /&gt;body: (_isLoading) ? Center(child: CircularProgressIndicator()) :&lt;BR /&gt;FutureBuilder&amp;lt;UserUpdate&amp;gt;(&lt;BR /&gt;future: _futureProfileupdate,&lt;BR /&gt;builder: (context, snapshot) {&lt;BR /&gt;if (snapshot.hasData) {&lt;BR /&gt;&lt;BR /&gt;TextEditingController _textEditingControllerGender = TextEditingController(text:&lt;BR /&gt;snapshot.data.gender);&lt;BR /&gt;var items = ["MALE" , "FEMALE"];&lt;/P&gt;&lt;P&gt;return Form(&lt;BR /&gt;key: _formKey,&lt;BR /&gt;child: Stack(&lt;BR /&gt;children: &amp;lt;Widget&amp;gt;[&lt;BR /&gt;SingleChildScrollView(&lt;BR /&gt;reverse: true,&lt;BR /&gt;child: new Column(&lt;BR /&gt;children: &amp;lt;Widget&amp;gt;[&lt;BR /&gt;&lt;BR /&gt;Padding(&lt;BR /&gt;padding: const EdgeInsets.only(top: 10,left: 30,right: 30),&lt;BR /&gt;child: SizedBox(&lt;BR /&gt;height: 65,&lt;BR /&gt;child: TextFormField(&lt;BR /&gt;onTap: (){&lt;BR /&gt;FocusScope.of(context).requestFocus(new FocusNode());&lt;BR /&gt;}, // if i remove this iteam is going to print on tetxfiled&lt;BR /&gt;focusNode: FocusNode(canRequestFocus: false),&lt;BR /&gt;textInputAction: TextInputAction.next,&lt;BR /&gt;controller: _textEditingControllerGender,&lt;BR /&gt;decoration: InputDecoration(&lt;BR /&gt;enabledBorder: OutlineInputBorder(&lt;BR /&gt;borderRadius: BorderRadius.circular(5.0),&lt;BR /&gt;borderSide: BorderSide(&lt;BR /&gt;color: Color(0x3df58634)&lt;BR /&gt;)&lt;BR /&gt;),&lt;BR /&gt;labelText: "GENDER",&lt;BR /&gt;labelStyle: GoogleFonts.nunito(&lt;BR /&gt;color: const Color(0xfff58634)),&lt;BR /&gt;hintText: "GENDER",&lt;BR /&gt;hintStyle: GoogleFonts.nunito(&lt;BR /&gt;color: const Color(0xfff58634)),&lt;BR /&gt;focusedBorder: OutlineInputBorder(&lt;BR /&gt;borderRadius: BorderRadius.circular(&lt;BR /&gt;5.0),&lt;BR /&gt;borderSide: BorderSide(&lt;BR /&gt;color: const Color(0x3df58634),&lt;BR /&gt;)&lt;BR /&gt;),&lt;BR /&gt;suffixIcon: PopupMenuButton&amp;lt;String&amp;gt;(&lt;BR /&gt;icon: const Icon(Icons.arrow_drop_down),&lt;BR /&gt;onSelected: (String value) {&lt;BR /&gt;_textEditingControllerGender.text = value;&lt;BR /&gt;},&lt;BR /&gt;itemBuilder: (BuildContext context) {&lt;BR /&gt;return items&lt;BR /&gt;.map&amp;lt;PopupMenuItem&amp;lt;String&amp;gt;&amp;gt;((String value) {&lt;BR /&gt;return new PopupMenuItem(&lt;BR /&gt;child: new Text(value), value: value);&lt;BR /&gt;}).toList();&lt;BR /&gt;},&lt;BR /&gt;),&lt;BR /&gt;),&lt;BR /&gt;onSaved: (String value) {&lt;BR /&gt;_Gender = value;&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;),&lt;BR /&gt;),&lt;BR /&gt;),&lt;BR /&gt;&lt;BR /&gt;Padding(&lt;BR /&gt;padding: EdgeInsets.only(top: 10.0,left: 230,right: 30),&lt;BR /&gt;child: SizedBox(&lt;BR /&gt;width: 140,&lt;BR /&gt;height: 45,&lt;BR /&gt;child: RaisedButton(&lt;BR /&gt;onPressed: () {&lt;BR /&gt;if (!_formKey.currentState.validate()) {&lt;BR /&gt;return;&lt;BR /&gt;}&lt;BR /&gt;setState(() {&lt;BR /&gt;_isLoading = true;&lt;BR /&gt;});&lt;BR /&gt;Profile(&lt;BR /&gt;&lt;BR /&gt;_textEditingControllerGender.text,&lt;BR /&gt;&lt;BR /&gt;);&lt;BR /&gt;},&lt;BR /&gt;here is my json data.... plz help me i am stuck here since 2,3 days UserUpdate userUpdateFromJson(String str) =&amp;gt; UserUpdate.fromJson(json.decode(str));&lt;/P&gt;&lt;P&gt;String userUpdateToJson(UserUpdate data) =&amp;gt; json.encode(data.toJson());&lt;/P&gt;&lt;P&gt;class UserUpdate {&lt;BR /&gt;UserUpdate({&lt;BR /&gt;this.successCode,&lt;BR /&gt;this.successMessage,&lt;BR /&gt;this.firstName,&lt;BR /&gt;this.lastName,&lt;BR /&gt;this.email,&lt;BR /&gt;this.gender, //i want thiis default to my textfiled and change when i select new&lt;BR /&gt;this.birthDate,&lt;BR /&gt;this.birthMonth,&lt;BR /&gt;this.anniversaryDate,&lt;BR /&gt;this.profilePicture,&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;String successCode;&lt;BR /&gt;String successMessage;&lt;BR /&gt;String firstName;&lt;BR /&gt;String lastName;&lt;BR /&gt;String email;&lt;BR /&gt;dynamic gender;&lt;BR /&gt;String birthDate;&lt;BR /&gt;String birthMonth;&lt;BR /&gt;String anniversaryDate;&lt;BR /&gt;String profilePicture;&lt;/P&gt;&lt;P&gt;factory UserUpdate.fromJson(Map&amp;lt;String, dynamic&amp;gt; json) =&amp;gt; UserUpdate(&lt;BR /&gt;successCode: json["SuccessCode"],&lt;BR /&gt;successMessage: json["SuccessMessage"],&lt;BR /&gt;firstName: json["FirstName"],&lt;BR /&gt;lastName: json["LastName"],&lt;BR /&gt;email: json["Email"],&lt;BR /&gt;gender: json["Gender"],&lt;BR /&gt;birthDate: json["BirthDate"],&lt;BR /&gt;birthMonth: json["BirthMonth"],&lt;BR /&gt;anniversaryDate: json["AnniversaryDate"],&lt;BR /&gt;profilePicture: json["ProfilePicture"],&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;Map&amp;lt;String, dynamic&amp;gt; toJson() =&amp;gt; {&lt;BR /&gt;"SuccessCode": successCode,&lt;BR /&gt;"SuccessMessage": successMessage,&lt;BR /&gt;"FirstName": firstName,&lt;BR /&gt;"LastName": lastName,&lt;BR /&gt;"Email": email,&lt;BR /&gt;"Gender": gender,&lt;BR /&gt;"BirthDate": birthDate,&lt;BR /&gt;"BirthMonth": birthMonth,&lt;BR /&gt;"AnniversaryDate": anniversaryDate,&lt;BR /&gt;"ProfilePicture": profilePicture,&lt;BR /&gt;};&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 07:37:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Flutter-How-to-print-selected-value-on-textfield-when-keyboard/m-p/482702#M24310</guid>
      <dc:creator>annahernandez99</dc:creator>
      <dc:date>2020-12-31T07:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Flutter How to print selected value on textfield when keyboard is hide</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Flutter-How-to-print-selected-value-on-textfield-when-keyboard/m-p/482776#M24311</link>
      <description>&lt;P&gt;This is the forum for&amp;nbsp;Dropbox and the&amp;nbsp;Dropbox API, but it doesn't look like your question is related to&amp;nbsp;Dropbox or the&amp;nbsp;Dropbox API. You seem to be asking about Flutter, which isn't made by Dropbox. You may want to post on a forum for Flutter instead.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 14:54:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Flutter-How-to-print-selected-value-on-textfield-when-keyboard/m-p/482776#M24311</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-12-29T14:54:03Z</dc:date>
    </item>
  </channel>
</rss>

