Questions tagged [customclipper]
5 questions
1
vote
0 answers
Optimize custom clippers inside InteractiveViewer
My goal:
Create an interactive map in flutter
User should be able to pan around in the map
User should be able to click on different countries in the map
When user click's on a country, the country changes color
The app should run at reasonable…

Matt
- 21
- 3
1
vote
0 answers
Adding a shadow effect to a folder-shaped container with Flutter
I'm making a folder-shaped container component in Flutter.
I am using the code below to create a folder-shaped container and give it a shadow effect. (I got some help from Stack Overflow.)
I want to give a natural shadow effect like the image…

lhyojin0821
- 175
- 9
0
votes
2 answers
Add curve to container
I want to design this type of widget in flutter, I tried it with Clipper class but not getting proper output.
I tried with this code,
class ArcClipper extends CustomClipper {
@override
Path getClip(Size size) {
final path = Path();
…

Pari07
- 13
- 3
0
votes
2 answers
How can I make these top 2 corner Radius Custom Clipper
Path getClip(Size size) {
var path = Path();
path.lineTo(25,0);
path.lineTo(0, size.height);
path.lineTo(size.width, size.height);
path.lineTo(size.width-25, 0);
return path;
}
this is my custom clipper and I want to make…

Soun Savdan
- 3
- 2
0
votes
0 answers
How to create shape using clipper in flutter?
Unable to create such curvy shape like in image attachment using CustomClipper. Can anyone can help?
class Customshape extends CustomClipper{
@override
Path getClip(Size size) {
double height = size.height;
double width =…

jazzbpn
- 6,441
- 16
- 63
- 99