title: I want to display date picker in textfield with remove selected date in textfield
body: <p>I want to display date picker in textfield with remove selected date in textfield.</p>
  
  <p>To choose date i use tappable image and the selected date set in the textfield but i can't remove that date from textfield.</p>
  
  <pre><code>Widget build(BuildContext context) {
      return Expanded(
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: &lt;Widget&gt;[
            LightText(
              text: ' ${widget.labelTxt}',
            ),
            Padding(
              padding: EdgeInsets.only(top: 3),
            ),
            Container(
              height: 24,
              padding: EdgeInsets.only(left: 5),
              decoration: BoxDecoration(borderRadius: BorderRadius.circular(3)),
              child: Theme(
                data: ThemeData(hintColor: lightGrey),
                child: TextField(
                  enabled: isEditForInputField
                      ? !widget.enableVal ? false : true
                      : false,
                  controller: widget.controllerText,
                  keyboardType: TextInputType.number,
                  decoration: InputDecoration(
                    suffix: GestureDetector(
                      onTap: (){
                        isEditForInputField
                              ? _selectDate(context, widget.value,
                                  widget.firebaseKey, widget.index)
                              : null;
                      },
                      child: Padding(
                        padding: const EdgeInsets.only(top: 7.0, right: 3.0,),
                        child: Image.asset('assets/images/calendar.png',
                          height: 25.0,
                          width: 25.0,
                        ),
                      ),
                    ),
  
                      disabledBorder: OutlineInputBorder(
                        borderSide: BorderSide(color: Colors.grey),
                      ),
                      border: OutlineInputBorder(),
                      contentPadding: const EdgeInsets.symmetric(
                          vertical: 3.0, horizontal: 5.0)),
                ),
              ),
            ),
          ],
        ),
  </code></pre>