Answers for "iconbutton flutter with text"

4

flutter button with icon and text

ElevatedButton.icon(
              icon: Icon(Icons.home), 
              label: Text('ElevatedButton'),
              onPressed: () {},
            ),
Posted by: Guest on August-24-2021
1

flutter textfield with icon onclick

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

Browse Popular Code Answers by Language