title: flutter textfield labeltext not showing up
body: <p>I cant get the textfield labeltext to show. anyone can help? and how do I get the border to always showing and not disappear when I click on the text field.</p>
  
  <pre><code> @override
    Widget build(BuildContext context) {
      return TextFormField(
        controller: _controller,
        decoration: InputDecoration(
          border: new OutlineInputBorder(
            borderSide: new BorderSide(width: 1)
          ),
          // hintText: _hintText,
          labelText: "Label Text",
          contentPadding: EdgeInsets.only(left: 15),
          // suffixText: _nameLength.toString() + "/ " + _maxLength.toString(),
          // suffixStyle: TextStyle(fontSize: 12),
          // suffixStyle: TextStyle(color: Theme.of(context).textTheme.bodyText2.color),
          // counterText: "",
        ),
        maxLines: _maxLines,
        textCapitalization: TextCapitalization.sentences,
        cursorRadius: Radius.circular(10),
        keyboardType: TextInputType.text,
        autofocus: true,
        maxLength: _showTextCount ? _maxLength : null,
        style: TextStyle(color: AppSetting.textColor1),
        validator: (val) {
          // if (val.isEmpty) {
          //   return 'Please enter text.';
          // } 
          // return null;
        },
        onChanged: (val) {
          _onChanged(val);
          setState(() {
            _inputFieldText = val;
            _nameLength = _inputFieldText.length;
          });
        },
        onTap: () =&gt; AppSetting.hapticFeeback(),
      );
    }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/lBg0X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lBg0X.png" alt="enter image description here"></a></p>