📜  结束图标颤动文本字段 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:09.827000             🧑  作者: Mango

代码示例1
TextField(
  controller: _controller,
  decoration: InputDecoration(
    hintText: "Enter a message",
    suffixIcon: IconButton(
      onPressed: () => _controller.clear(),
      icon: Icon(Icons.clear),
    ),
  ),
)