Answers for "flutter provide border in elevated button"

4

flutter elevated button radius

style: ButtonStyle(
  shape: MaterialStateProperty.all<RoundedRectangleBorder>(
    RoundedRectangleBorder(
      borderRadius: BorderRadius.circular(18.0),
      side: BorderSide(color: Colors.red)
    )
  )
)
Posted by: Guest on March-16-2021
0

flutter rounded ElevatedButton

ElevatedButton(
  onPressed: () {},
  style: ElevatedButton.styleFrom(
  	shape: new RoundedRectangleBorder(
    	borderRadius: new BorderRadius.circular(30.0),
  	),
  ),
  child: Text(
    "Click ME!!"
  ),
)
Posted by: Guest on September-19-2021

Code answers related to "flutter provide border in elevated button"

Code answers related to "Dart"

Browse Popular Code Answers by Language