Answers for "how to set icont at the end in textfield flutter"

1

end icon flutter textfield

TextField(
  controller: _controller,
  decoration: InputDecoration(
    hintText: "Enter a message",
    suffixIcon: IconButton(
      onPressed: () => _controller.clear(),
      icon: Icon(Icons.clear),
    ),
  ),
)
Posted by: Guest on July-01-2020

Code answers related to "how to set icont at the end in textfield flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language