mcrovero / rubber

An elastic material bottom sheet implementation for Flutter.
BSD 2-Clause "Simplified" License
562 stars 88 forks source link

Shape customization #22

Closed Salby closed 5 years ago

Salby commented 5 years ago

It would be really nice if you were able to change the shape of the sheet, for example to create rounded corners at the top of the sheet, like many of Google's redesigned apps have.

mcrovero commented 5 years ago

It isn't customizable through the RubberBottomSheet widget but you can directly change the shape of the layers. A good UI example can be found here

Salby commented 5 years ago

You're right I hadn't thought of that. My apologies.

kelryazevedo commented 1 year ago

@Salby , Hello, I saw this question about the shape and can you send me the link about some example when I can customize corners?

Salby commented 1 year ago

I would make the sheet transparent, and define the background color and shape in the content of the sheet.