Allow to set round clipping to corners on a widget
See original GitHub issueIt can be desirable to set round corners on a view to mimic a “card” appearance or to create a circle outline.
- On iOS the property
cornerRadius
could be used - On Android the property
setOutlineProvider
(Android 5+) could be used
Issue Analytics
- State:
- Created 8 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
How to clip the corners of Positioned widget in flutter
I want to clip the green Positioned widget on corners with that of grey Container's rounded corners. Any Help will be highly appreciated....
Read more >Round Corners • Flutter Widget of the Day #05 - YouTube
Flutter UI Course for BEGINNERS: https://mitchkoko.gumroad.com/l/BeginnerFlutterUICourse Download Pre-made Flutter Apps & Games ...
Read more >How to work with Live Corners in Illustrator - Adobe Support
Dragging the Live Corners widget with the Direct Selection Tool (A) is the easiest way to convert a corner into a round corner....
Read more >Clipping circles (and more) in Flutter - LogRocket Blog
In this post, I'll cover the few ways you can circle clip (and more) images in your Flutter app. Before we use our...
Read more >ClipRRect class - widgets library - Flutter - Dart API docs
This example shows a ClipRRect that adds round corners to an image. link. To create a local project with this code sample, run:...
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 Free
Top 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
+1
@narayansikarwar the ability to created rounded corners (or outlines for that matter) have only been introduced in Android 5 and can not easily be backported. Especially in conjunction with the
elevation
feature.