How to change border radius of BottomSheetModal ?
See original GitHub issueAsk your Question
I have read the docs and know that you style the container by using the normal style
property, however when trying to change the border radius of the sheet, it does not work either with custom or default handle, I attach an example of how it looks like when using the styling prop (I added border width and color using the style prop)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
How to create a modal bottomsheet with circular corners in ...
I think the best way to do a rounded-corner modal is to use a RoundedRectangleBorder with a vertical BorderRadius , setting only its...
Read more >Bottom Sheet with Rounded Corners: 3 Steps Away [2022 ...
To make the Bottom Sheet with rounded corners, simply add the shape parameter inside the showModalBottomSheet function and assign the ...
Read more >showmodalbottomsheet border radius - Code Grepper
1. showModalBottomSheet( ; 2. context: context, ; 3. backgroundColor: Colors.white, ; 4. shape: RoundedRectangleBorder( ; 5. borderRadius: BorderRadius.only(topLeft ...
Read more >Custom modal with border radius - Ionic Forum
Hi guys, I am making a custom modal with a border radius so i can have rounded corners. i manage to do what...
Read more >#bottomsheetmodal - YouTube
How to use the Ionic 6 Bottom Sheet Modal Component with React (Ionic Framework) ... Bottom sheet dialog with Rounded corners , Change...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You need to set a custom background component using the backgroundComponent prop and set the borderRadius there.
and then the BottomSheetBackground component should be something like this
You can create a custom wrapper component around
BottomSheet
and use it for all the sheets in your app.