20265.6.18 通知输入加高
parent
fe973c0cfd
commit
be9bdbd506
|
|
@ -195,6 +195,7 @@ class _CustomAlertDialogTwoState extends State<CustomAlertDialogTwo> {
|
||||||
child: TextField(
|
child: TextField(
|
||||||
controller: _controller,
|
controller: _controller,
|
||||||
autofocus: true,
|
autofocus: true,
|
||||||
|
maxLines: 4, // 设置最多显示3行
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
hintText: widget.hintText,
|
hintText: widget.hintText,
|
||||||
border: const OutlineInputBorder(),
|
border: const OutlineInputBorder(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue