Answers for "button with text and icon flutter"

1

icon as button flutter

IconButton(
            icon: Icon(
              Icons.directions_transit,
            ),
            iconSize: 50,
            color: Colors.green,
            splashColor: Colors.purple,
            onPressed: () {},
          ),
Posted by: Guest on June-01-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
0

flutter raised button with icon

FlatButton.icon(onPressed: null, icon: null, label: null);
RaisedButton.icon(onPressed: null, icon: null, label: null);
Posted by: Guest on June-01-2020

Code answers related to "button with text and icon flutter"

Browse Popular Code Answers by Language