bottom sheet with rounded corners flutter code example
Example: 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"),
);
});
}