Answers for "flatbutton rounded corners"

5

flat button rounded shape

new OutlineButton(
  child: new Text("Button text"),
  onPressed: null,
  shape: new RoundedRectangleBorder(borderRadius: new BorderRadius.circular(30.0))
)
Posted by: Guest on October-19-2020
2

using shape property in flutter for circular corner

shape: RoundedRectangleBorder(
  borderRadius: BorderRadius.circular(18.0),
  side: BorderSide(color: Colors.red)
),
Posted by: Guest on May-09-2020

Browse Popular Code Answers by Language