当前位置:网站首页>How to remove underline and color when there is focus in the shutter textfield
How to remove underline and color when there is focus in the shutter textfield
2022-07-26 12:55:00 【Flutter Mengxin College】
Modification method
Only the
enabledBorder: new UnderlineInputBorder
focusedBorder: new UnderlineInputBorder
Set to borderSide: BorderSide.none, that will do , The color can be defined here when modifying the focus
Container(
padding: EdgeInsets.only(left: 18.0, right: 18.0),
height: 150.0,
child: new TextField(
controller: _mnemonicController,
keyboardType: TextInputType.text,
maxLength: 150,
onChanged: (value) {
setState(() {
});
},
autofocus: false,
decoration: InputDecoration(
enabledBorder: new UnderlineInputBorder( // When there is no focus
borderSide: BorderSide.none,
),
focusedBorder: new UnderlineInputBorder( // When there is focus
borderSide: BorderSide.none,
),
contentPadding:
EdgeInsets.symmetric(vertical: 10, horizontal: 10),
hintText:
S.of(context).string_wallet_enter_receive_amount,
counterText: '',
),
),
),
边栏推荐
- Azure Synapse Analytics 性能优化指南(2)——使用具体化视图优化性能(上)
- 若有声明”int x=5,y=1;”,则表达式x<y?x++:y++的结果是:
- How to view encrypted information in text form
- A super easy-to-use artifact apifox, throw swagger a few streets... (glory Collection Edition)
- The strongest tool class of entity mapping: mapstruct Zhenxiang
- yolov7训练危险品识别 pytorch
- Detailed interpretation of hole convolution (input and output size analysis)
- Ssj-21b time relay
- 数据库组成表
- Interviewer: how to deal with high concurrency?
猜你喜欢

Today's sleep quality record 75 points

食品安全 | 网购的自制食品就是健康食品?莫要陷入这些误区
![[wechat applet] read the article, data request](/img/9a/3b9aef6c5f5735b886252ec830798c.png)
[wechat applet] read the article, data request

1-6月中国ADAS供应商占比9% 又一家零部件巨头全面布局智驾新赛道

华为超融合FusionCube解决方案笔记

STM32 drives hc05 Bluetooth serial port communication module

Microsoft has shut down two attack methods: Office macro and RDP brute force cracking

被罚“带薪休假”一个月后,谷歌解雇了“爱”上 AI 的他

A super easy-to-use artifact apifox, throw swagger a few streets... (glory Collection Edition)

若有声明”int x=5,y=1;”,则表达式x<y?x++:y++的结果是:
随机推荐
Does anyone know where the retract of flinksql can be specified? Only api code settings can be seen in online materials
数据库组成存储过程和函数
Food safety | can you eat any fruit?
Visual stdio(VS)中的(int argc、char** argv)命令行参数
最好的工程师,就是这样被你“逼”走的!
【5GC】什么是5G切片?5G切片如何工作?
Huawei ultra fusion fusioncube solution notes
A super easy-to-use artifact apifox, throw swagger a few streets... (glory Collection Edition)
Detailed interpretation of hole convolution (input and output size analysis)
The map function counts the number of occurrences of characters
From January to June, China's ADAS suppliers accounted for 9%, and another parts giant comprehensively laid out the new smart drive track
LCD notes (7) LCD driver framework_ Configure clock
微软关闭了两种攻击途径:Office 宏、RDP 暴力破解
Kubernetes----Kubernetes常用插件简介
如何组装一个注册中心?
Kubernetes---- installing and deploying NFS servers
Commonly used list Why does isempty() suddenly report null?
Food safety | are sterile eggs really completely sterile?
Various extensions of hcip-9.ospf
食品安全 | 无菌蛋真的完全无菌吗?