Widget getWidget() {return TextField(decoration: InputDecoration(border: InputBorder.none, // 去掉下滑线counterText: '', // 去除输入框底部的字符计数),);}
搞定 !