Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
187 views

I want to achieve a bottom clip to a container similar to the below ui and have partially achieved it, However the spacing at the last position is not consistent according to the device width, Either ...
Chetan Rawat's user avatar
0 votes
0 answers
89 views

I'm working on a custom shape in Flutter using CustomPainter, and I need to create smooth transitions between rounded corners and diagonal lines. The goal is for these transitions to look seamless and ...
Valerii Vvedenskyi's user avatar
0 votes
0 answers
40 views

I had made a custom clipper in the shape on pie , and applied it to a container , now when i place some child in that container ,say text() , then it is constrained to that container itsefl not the ...
Kartik's user avatar
  • 31
0 votes
1 answer
41 views

I'm trying to create a text with an animation on hover, including a dot in front of it, using Flutter. The design comes from this website (look at the bottom section you'll find what I'm reproducing). ...
Furiy's user avatar
  • 53
0 votes
1 answer
61 views

My code like this : TabBar( controller: _tabController, isScrollable: false, dividerColor: Colors.transparent, ...
Hary Nugraha's user avatar
-1 votes
1 answer
73 views

I loaded a full screen image using SpriteComponent and trying to remove some parts of that image using canvas.clipPath. Expected: The image will be rendered except all the clipped parts Issue: The ...
Son Nguyen Quoc's user avatar
0 votes
1 answer
153 views

I'm new with flutter and trying to make a custom chat bubble message. I saw a related thread on how to achieve this but it's only for setting the clip at the bottom left corner. @override Path ...
bkg's user avatar
  • 1
0 votes
0 answers
320 views

I want to clip a given side of a widget and leave the others unclipped. But I can't get it to work. It just clips everything so that nothing is left: import 'package:flutter/widgets.dart'; class ...
JakesMD's user avatar
  • 2,276
0 votes
1 answer
528 views

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 ...
Dave S.'s user avatar
  • 88
0 votes
1 answer
136 views

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 ...
Jaini Shah's user avatar
0 votes
1 answer
52 views

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 ...
Ayz's user avatar
  • 321
0 votes
1 answer
315 views

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 ...
Yash Vishwakarma's user avatar
0 votes
2 answers
394 views

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; ...
Soun Savdan's user avatar
0 votes
1 answer
528 views

I have created this UI the problem is right now that the text is not displayed fully. How can i put the text for example inside the upper part of the ui so that the text is not covered by the clipped ...
Faisal M's user avatar
0 votes
1 answer
70 views

Normally, if a widget has to rebuild many times or requires a lot of GPU resources, it is expensive. So, how about videos? For example, consider the two following scenarios: A screen with a black ...
David A.'s user avatar
  • 333
0 votes
1 answer
1k views

I want to achieve the layout as attached image in this question there are 3 colors: navy, purple, and white. I'm aware that custom clipper can be used, but I'm unable to make one and what values to ...
Ashish Purohit's user avatar
0 votes
1 answer
459 views

How would I go about making this design in a ScrollView? I was thinking about making two containers one with the yellow color & second with the white color and then using clipPath to morph the ...
Shreyansh Gholse's user avatar
1 vote
1 answer
301 views

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: ...
Mahsa Abarghani's user avatar
0 votes
1 answer
94 views

ClipPath( child: Container( height: 200, decoration: const BoxDecoration( gradient: LinearGradient( colors: [Color(0xFF7CB342), Color(0xFFDCEDC8)],...
Mahsa Abarghani's user avatar
2 votes
2 answers
3k views

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 ...
Tech Nerd's user avatar
  • 832
1 vote
2 answers
1k views

I am trying to run 2 different web instances of the same code (either chrome chrome or chrome edge). It's like with phone emulators (It's possible ofc, I can open 2 different emulators at the same ...
omar's user avatar
  • 93
1 vote
0 answers
573 views

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 ...
Mmoke Nape's user avatar
1 vote
0 answers
1k views

I am new in flutter i don't know how to make a custom border kindly help me to generate this type of border.
Fazaa Majdeddine's user avatar
1 vote
1 answer
623 views

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 ...
Siddharth Mehra's user avatar
-1 votes
1 answer
89 views

Here is the custom Appbar I'm trying to archive
Minh Tuan Văn's user avatar
2 votes
3 answers
2k views

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 ...
mario uriarte's user avatar
2 votes
0 answers
624 views

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....
Mehmet Hasan İLKBAHAR's user avatar
0 votes
2 answers
517 views

I have a make my Custom Clipper (Pentagon Shape) but I need to make all of the corners round a little bit. Here's my Clipper Code: class Pentagon extends CustomClipper<Path> { @override Path ...
Rifky's user avatar
  • 63
0 votes
1 answer
2k views

How to have a curve corner at the top and right and left in flutters like the file attached using clip-path or any other widget? I am trying to curve the corner in the container widget with a child ...
Bilal Kasbati's user avatar
0 votes
1 answer
2k views

Through the clipPath I was able to create a widget with a design similar to that of the photo I posted below. The only problem is to get the rounded corners as shown by the arrows in the photo. Below ...
snakom23's user avatar
  • 203
-1 votes
1 answer
1k views

How can I add a background color to a custom ClipPath? Tried the following but it isn't working ClipPath( clipper: MyClipper(), child: Container(color: Colors.yellowAccent), ) class MyClipper ...
Jessica's user avatar
  • 9,880
3 votes
0 answers
436 views

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's user avatar
  • 73
0 votes
1 answer
597 views

I have this shape enter image description here I want to flip it to be like this enter image description here this is the original code class CustomMenuClipper extends CustomClipper<Path> { @...
Sam's user avatar
  • 1
0 votes
1 answer
306 views

I have to create a curve that looks like as below: Here is my code trying to make that curve. But it is making a straight line. ClipPath( clipper: ArrowClipper(), child: Container( width: 35, ...
Yashwardhan Pauranik's user avatar