Answers for "how to create a button with icon and text in 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 textbutton.icon

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

Code answers related to "how to create a button with icon and text in flutter"

Browse Popular Code Answers by Language