Answers for "flutter give border to material button"

0

flutter border around textbutton

OutlinedButton(
  onPressed: null,
  style: ButtonStyle(
    shape: MaterialStateProperty.all(
      RoundedRectangleBorder(
      	borderRadius: BorderRadius.circular(30.0),
      )
	),
  ),
  child: const Text("Button text"),
);
Posted by: Guest on September-19-2021
3

flutter button border radius

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

Code answers related to "flutter give border to material button"

Browse Popular Code Answers by Language