Answers for "border radius flutter textbutton"

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
2

flutter outlinedbutton border radius

OutlinedButton(
  child: Text('Woolha.com'),
  style: OutlinedButton.styleFrom(
    primary: Colors.white,
    backgroundColor: Colors.teal,
    shape: const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(10))),
  ),
)
Posted by: Guest on September-05-2021

Code answers related to "border radius flutter textbutton"

Code answers related to "Dart"

Browse Popular Code Answers by Language