Questions tagged [flutter-clippath]

ClipPath is a Flutter widget that can be used to clip child widgets using the clipper object that extends the CustomClipper class.

28 questions
3
votes
0 answers

Flutter lack performance when use clip path

I have this situation using a flutter component, the performance with widgets completely created with clip path have a bad performance. There is a way to prevent a bad performance with many clip paths?
drkpkg
  • 73
  • 1
  • 1
  • 10
2
votes
2 answers

Flutter CustomClipper with Stroke Border

I want to create a Widget with 2 container using a CustomClipper and add a line/stroke/border between them like: So I want a bottom border on the red colored Container, that is in between the red and the yellow container. I am able to add the clip…
Tech Nerd
  • 822
  • 1
  • 13
  • 39
2
votes
2 answers

Oval decoration in flutter, how can I do that?

I have a layout that I want to implement in flutter, this decoration is featured everywhere in my layout, Text Inputs, Containers, Buttons, Cards, etc. I have seen that you can oval the decorations with ClipOval but it did not work for me. If you…
2
votes
0 answers

Flutter Clip Path

Logo I want to create with clippath Logo I want to create with clippath I tried to make the logo above but it didn't work. How to do it properly? This is what i made with clippath,stack,Transform.rotate and positioned widgets and clip path. I dont…
1
vote
1 answer

How can I fix my problem with clippath flutter?

I want to design this appbar : and my code in main.dart is : @override Widget build(BuildContext context) { return Column( children: [ ClipPath( clipper: WaveClip(), child: Container( height: 200, decoration:…
1
vote
0 answers

How to display an image inside an overflowing stack, inside a container that has a Clipper ( ClipPath() )?

I'm not sure if I'm making sense but essentially, I want to have a full-sized image inside a container that has a clipper ( ClipPath() ). The image needs to overflow past both clippers. Here is what I was trying to achieve: Image of a woman…
Mmoke Nape
  • 11
  • 2
1
vote
1 answer

Custom Container border in flutter for message

I am new in flutter i don't know how to make a custom border kindly help me to generate this type of border.
1
vote
1 answer

How to use ClipPath to get this type of design layout?

I have been scratching my head for a very long time just to get this type of design layout for a TextFormField but failed! TextFormField Notice the anti strait lines. My further search for this layout on the internet concludes that I can archive…
Siddharth Mehra
  • 1,691
  • 1
  • 9
  • 32
0
votes
1 answer

Flutter use ClipPath on Column Container

I'm playing around with flutter doing some personal projects. I'm learning a bit about complex UIs and it's been quite hard. I've looked into documentation, some blogs, and still have no idea how to properly define x, y points using Flutter…
Dave S.
  • 88
  • 8
0
votes
1 answer

how to draw upside down traingle with curvy point

I tried this code Path getClip(Size size) { final path = Path(); path.lineTo(size.width, 0.0); path.lineTo(size.width / 2, size.height); path.close(); return path; } But I didn't got perfect output Path getClip(Size size)…
0
votes
1 answer

How can I Do this UI using ClipPath? and how it can be Done in another way?

I tried the following code, What is the best way to do that curve. My code is separated into 2 parts: first the entire screen wrapped with stack second the function of CustomBigArcClipper return Scaffold( backgroundColor: Colors.blue, …
Ayz
  • 181
  • 1
  • 9
0
votes
0 answers

Flutter: How to custom ClipPath with triune corners and center?

I’m a kinda new to flutter, and I’m trying to create a clip path of this component of the image below. Basically it’s a box with the top with rounded corners and center. Can somebody please help me? enter image description here I’m new when using…
lemon-dev
  • 11
  • 1
0
votes
0 answers

how to creste A curved semicircle with a rounded edge in reverse in flutter

I want to make these curved circles with CustomPainter, with Flutter, please guide me how to do it, thank you class ShapBounds extends CustomPainter { final Color color; final double avatarRadius; ShapBounds( {required this.color,required…
0
votes
1 answer

Flutter ClipPath, 1 pixel black line visible from the bottom layer, how to remove it?

I was trying to create a container with a small section clipped from the bottom right corner. To do that I used a stack, where I added a container with border-radius 20, and black color, then I placed another container with position right 0 & bottom…
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…
1
2