Answers for "flutter textbutton with icon"

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
1

flutter textbutton.icon

TextButton.icon(
            icon: Icon(Icons.camera),
            label: Text('Take A Photo'),
            onPressed: () {},
          )
Posted by: Guest on May-10-2021
1

flutter button with icon

ElevatedButton.icon(
          onPressed: () {},
          icon: Icon(Icons.email),
          label: Text("Contact me"),
          style: ElevatedButton.styleFrom(
            textStyle: TextStyle(fontSize: 15),
          ),
        ),
Posted by: Guest on September-18-2021
2

flutter iconbutton

IconButton(
            icon: Icon(
              Icons.directions_transit,
            ),
            onPressed: () {},
          ),
Posted by: Guest on August-24-2021

Browse Popular Code Answers by Language