Answers for "apply border radius to 2 corners of flutter container"

6

flutter container border radius only left

borderRadius: BorderRadius.only(
          topRight: Radius.circular(10.0),
          bottomRight: Radius.circular(10.0)),
Posted by: Guest on February-08-2021
2

flutter container border radius

Container(
  child: Text(
    'This is a Container',
    textScaleFactor: 2,
    style: TextStyle(color: Colors.black),
  ),
  decoration: BoxDecoration(
    borderRadius: BorderRadius.circular(10),
    color: Colors.white,
    boxShadow: [
      BoxShadow(color: Colors.green, spreadRadius: 3),
    ],
  ),
  height: 50,
),
Posted by: Guest on July-27-2020

Code answers related to "apply border radius to 2 corners of flutter container"

Browse Popular Code Answers by Language