Answers for "flutter container bottom rounded"

2

flutter rounded bottom sheet

void startAddNewMoodCheckin(BuildContext ctx) {
    showModalBottomSheet(
        shape: RoundedRectangleBorder(		//the rounded corner is created here
          borderRadius: BorderRadius.circular(10.0),
        ),
        context: ctx,
        builder: (_) {
          return Container(
            child: Text("This is a modal sheet"),
          );
        });
  }
Posted by: Guest on February-28-2021
0

How to round container corners in flutter

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

Code answers related to "flutter container bottom rounded"

Browse Popular Code Answers by Language