我有一个圆形的文本字段。效果很好,但是当用户点击它时,会出现灰色背景。如何禁用该飞溅效果?
这是我的代码和结果:
new Container(
margin: const EdgeInsets.only(left: 30.0, top: 60.0, right:
30.0),
height: 40.0,
decoration: new BoxDecoration(
color: Colors.white,
borderRadius: new BorderRadius.all(new Radius.circular(25.7))
),
child: new Directionality(
textDirection: TextDirection.ltr,
child: new TextField(
controller: null,
autofocus: false,
style:
new TextStyle(fontSize: 22.0, color: Color(0xFFbdc6cf)),
decoration: new InputDecoration(
filled: true,
fillColor: Colors.white,
hintText: 'Username',
contentPadding: const EdgeInsets.only(
left: 14.0, bottom: 8.0, top: 8.0),
focusedBorder: OutlineInputBorder(
borderSide: new BorderSide(color: Colors.white),
borderRadius: new BorderRadius.circular(25.7),
),
enabledBorder: UnderlineInputBorder(
borderSide: new BorderSide(color: Colors.white),
borderRadius: new BorderRadius.circular(25.7),
), …Run Code Online (Sandbox Code Playgroud) 将 Android Studio 版本更新到 2.2.2 后,所有构建工具版本都会出现此错误。即使我再次安装了 android studio 的一些主题,但没有用。我尝试了所有其他工具版本。
Failed to find build tools revision
Run Code Online (Sandbox Code Playgroud)
更新
它可以很好地工作,classpath 'com.android.tools.build:gradle:2.1.0'
但gradle:2.2.3仍然有错误。