Answers for "flutter corner"

2

flutter rounded container transperent corners

new Container(
          height: 300.0,
          color: Colors.transparent,
          child: new Container(
            decoration: new BoxDecoration(
              color: Colors.green,
              borderRadius: new BorderRadius.only(
                topLeft: const Radius.circular(40.0),
                topRight: const Radius.circular(40.0),
              )
            ),
            child: new Center(
            child: new Text("Hi modal sheet"),
           )
         ),
        ),
Posted by: Guest on May-01-2020
1

make border rounded flutter

decoration: BoxDecoration(
  borderRadius: BorderRadius.circular(10)
),
Posted by: Guest on September-20-2021
0

How to round container corners in flutter

decoration: BoxDecoration(borderRadius: BorderRadius.all(Radius.circular(10)))
Posted by: Guest on August-09-2021

Browse Popular Code Answers by Language