Skip to main content
Filter by
Sorted by
Tagged with
4 votes
1 answer
186 views

I’m trying to replicate a custom curved profile banner shape using CustomPaint in Flutter. This is the desired shape I’m trying to achieve — notice how the bottom of the banner has a smooth inward ...
Akashptl's user avatar
  • 105
0 votes
0 answers
75 views

I am working on a Flutter project where I need to animate an arrow along a path. The arrow should not only move along the path, but also continuously adjust its angle to match the direction of the ...
vicky_prog's user avatar
0 votes
0 answers
115 views

I’m trying to create a custom bottom navigation bar in Flutter with a curved cutout similar to the following image: The curve is not a perfect semicircle; instead, it has a smooth transition on the ...
Deo gratias Patinvoh's user avatar
0 votes
0 answers
31 views

I'm developing a feature in a Flutter application where users can capture a photo using the camera package. After capture, the image is displayed on the screen, allowing users to draw lines and points ...
Victor Moreira's user avatar
0 votes
0 answers
73 views

I was trying to build a fourier series illustration I found and I was very close to completing when this weird problem occurred. The first illustration in this part of the wikipedia page is what I am ...
Sanchit Batra's user avatar
0 votes
1 answer
100 views

I want to create appBar like below but i don't have good knowledge of customPainter. It should be like below design. I have attached the image unable to do this using cubic and beizer curve in flutter....
Sonu Saini's user avatar
  • 2,084
0 votes
0 answers
122 views

I am trying to create a triangle shape with rounded corners and a shadow using Flutter's CustomPainter. My goal is to achieve a design similar to this: I attempted to implement it using CustomPainter ...
Ifqy Gifha azhar's user avatar
0 votes
0 answers
94 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
2 answers
111 views

The following is a reference. How can I create a border-only bubble with CustomPainter? But what I want to achieve is a balloon for the circle. The image will be as follows. If implemented as follows,...
Yone's user avatar
  • 77
0 votes
1 answer
117 views

How could i achieve such AppBar,The AppBar itself does not have to be an actual AppBar widget. if it can be done with a normal Container,Painter or ClipPath I'd still appreciate it. Does not have to a ...
Abdallah Rashed's user avatar
0 votes
1 answer
99 views

I'm working on a Flutter project where I'm drawing a half-circle gauge with a gradient that transitions from red to yellow to green, using a SweepGradient. The arc looks great overall, but I've ...
pawpaw's user avatar
  • 3
0 votes
1 answer
115 views

I am working on a Flutter project and need help creating a custom shape for a BottomSheet. I have tried multiple approaches with CustomPainter and Clipper, but I haven't been able to achieve the exact ...
Harish Sharma's user avatar
1 vote
0 answers
56 views

I am displaying pathes using CustomPainter that come from converted SVGs (and later from user paint) Because these pathes are to be editable by the users, CustomPainter seems like a good candidate. ...
Yako's user avatar
  • 3,484
0 votes
1 answer
22 views

I am developing a node editor sort of app, in which you can add nodes and connect them with a noodle connection (like in blender and Unreal engine), I am facing a problem when a node is dragged off ...
DEGUIDER's user avatar
0 votes
1 answer
149 views

I have a fill path that creates a simple triangle: M49.5 0L92.3683 94.5L6.63174 94.5L49.5 0Z. The triangle is being drawn correctly by using CustomPainter and canvas.drawPath(). Now I need to add an ...
Jonathan's user avatar
  • 4,958
0 votes
0 answers
317 views

Is it possible to draw a line in Flutter with a complete custom pattern that repeats itself along the line? For example, I want to have this pattern: So if I draw a straight line, it should like like ...
Apri's user avatar
  • 1,635
1 vote
1 answer
325 views

I'm building a Flutter app that allows users to rotate a line within a circle using a GestureDetector. The angle of the line is calculated based on the user's touch position. However, I'm encountering ...
Akki's user avatar
  • 145
0 votes
1 answer
131 views

This is the raster performance that I am getting from drawing a path with 200k lines: https://i.sstatic.net/65uYK9aB.png I am trying to create a custom graph using using CustomPainter, and find it a ...
user25216198's user avatar
0 votes
0 answers
65 views

I have the fallowing code to draw ellipses: enum OriginType { bottomLeft, bottomRight, topLeft, topRight, center } class Background extends CustomPainter { final double screenWidth; final double ...
Mircea's user avatar
  • 2,039
0 votes
1 answer
654 views

I am trying to get familiar with CustomPainters in Flutter, and tried to use a custom painter to draw a barrier with a cutout around a specific widget over the screen, to behave like a tutorial. I ...
Joeseph Schmoe's user avatar
0 votes
0 answers
41 views

In my flutter app i have to draw curve line with image or icon and text like bellow image. So how i can create UI in flutter as image? This is my code as below. class CurveLineMyPainter extends ...
Dhaval Chaudhari's user avatar
0 votes
2 answers
220 views

I have a program that creates a Pie-Chart using CustomPainter and CustomPaint that uses a SizedBox as the Canvas and is the Widget returned. However, the width of the SizedBox is being set to the ...
briano's user avatar
  • 67
4 votes
2 answers
639 views

i have this code in flutter , iam using a custom paint to draw a "road like" and the path is done but when i draw circles inside it this happens : and here is what i want : and here is my ...
Fahmi Sawalha's user avatar
0 votes
1 answer
120 views

I am struggling with designing the below appbar design of the app in flutter i have checked various online resources,documentation,official flutter website but too much confused how to design the ...
Sibghat ullah's user avatar
0 votes
0 answers
99 views

I'm making a mobile app using Flutter where I display an image from a website (URL). This image serves as a base map. On top of this image, I want to add a marker at specific locations (x, y) that can ...
Aashbin Sunar's user avatar
0 votes
1 answer
383 views

In the below code i need to show the wave form when the user speaks, but i'm not sure about the code, it does't gets me positive Reference image Expected Output Also it needs to be varies based on the ...
Naveen Kumar's user avatar
1 vote
0 answers
122 views

I'm working on a flutter project and was requested to replicate this progress bar: I went on to try CustomPainter and it got me to a point where it looks somewhat similar, just flatter without the ...
gioravered's user avatar
  • 1,868
0 votes
0 answers
120 views

i want to animate the charging and discharging of the capacitor ,there is an equation for charging and another equation for discharging but i want when press button, start the new painting from the ...
Ahm2025's user avatar
  • 59
0 votes
1 answer
409 views

Context I'm working on a custom slider widget in Flutter where I need the slider track to change its thickness slightly in an increasing way. I have not found any built-in properties in the Slider ...
MendelG's user avatar
  • 20.6k
1 vote
0 answers
51 views

I am trying to get the properties of CustomPainter elements when tapped. However, the location generated by onTapUp is not within the path created by CustomPainter Path. import 'package:flutter/...
Sidd's user avatar
  • 11
-1 votes
1 answer
479 views

In my flutter app I have to create custom shaped arrows like bellow images, And So how I can create arrow like shown in this image? Thank you...
Dhaval Chaudhari's user avatar
1 vote
1 answer
54 views

I work with Offsets and Coordinates. I combine them using dots and have them draw a shape, when I hide this drawn shape and open it again, a line appears on my shape from the top left of the screen. ...
selim's user avatar
  • 13
1 vote
2 answers
864 views

I'm working on a Flutter project and I need to create a custom shape that looks like the one shown below: I've attempted to use fluttershapemaker, but I couldn't quite achieve the exact shape I need. ...
Hudaif's user avatar
  • 163
0 votes
3 answers
755 views

I want to a CustomPainter that paints a triangle where the top edge is a bit rouned, like this: I was able to paint a triangle with this: class CustomStyleArrow extends CustomPainter { @override ...
Chris's user avatar
  • 2,414
-1 votes
2 answers
423 views

I have this simple chart made from custompainter, i also used a touchable lib to detect touches, but I dont know how to have it repaint or draw a rect when the user touches it. Tried Methods: draw ...
bluends's user avatar
  • 195
0 votes
1 answer
107 views

Im trying to design a simple drawing app in flutter and I'm having trouble trying to implement the actual brush strokes and how they look. Here is my code: import 'package:flutter/material.dart'; ...
HelloToxicity's user avatar
0 votes
2 answers
116 views

I have a flutter bottom nav bar that works just fine on Android. but, when testing the same code on IOS, only when the first item is selected, the shadow of the navbar shifts to the left Abnormal ...
Thomas KOEBEL's user avatar
0 votes
0 answers
117 views

This is the code - I implemented a custom paint widget to draw a drawing, but when I scroll the things up or down, the painting which is go outside of the screen is not captured. I work for this thing ...
Abhi Agyaat's user avatar
0 votes
0 answers
32 views

I'm using a bit of code to display locations on a map using Flutter paintImage. Basically, I have a png of a map given to me by my backend, as well as a list of Offset where I want to place a pin ...
Tom's user avatar
  • 422
0 votes
0 answers
208 views

This is first image which i want to create This is the second image which i achieved using that code **I have to create an animation like line moving from left to right in zigzag motion with round ...
Waleed Ahmed's user avatar
0 votes
1 answer
800 views

Hello fellow Flutter developers, I'm currently facing an issue with adding a container on top of a custom paint in my Flutter application. I have a custom paint widget that renders a specific drawing, ...
MICHEL Baptiste's user avatar
3 votes
1 answer
650 views

I'm trying to create a text with a border. I've written this code LayoutBuilder( builder: (_, constraints) => Container( width: constraints.maxHeight, decoration: ...
Ale TheFe's user avatar
  • 1,731
2 votes
1 answer
114 views

I'm making a drawing app by Flutter. I can draw a line normally when i put it in a Scaffold with only home. But the problem is when i add an AppBar, the line is offset down from the top, it's not the ...
MinhDat's user avatar
  • 97
1 vote
2 answers
170 views

I designed a simple svg into this website and i'll to try programing that in flutter I have implemented the code using this approach: class AppbarBackgroundPainter extends CustomPainter { final ...
DolDurma's user avatar
  • 17.6k
0 votes
2 answers
777 views

I have a Container with a CustomPaint as the parent. In the CustomPaint I just draw a line on the half surrounding of the Container. The line is drawn with half of its width inside the Container and ...
sm-sayedi's user avatar
  • 1,120
0 votes
0 answers
229 views

Im using MLKit and custom painter to dynamically draw on screen when it detects something, however I would like to be able to show an image within that polygon resized to fit within the shape. It ...
Yonkee's user avatar
  • 1,893
0 votes
1 answer
95 views

How can I create custom app drawer like this one I tried to use custom shape border with container but I cannot get the same shape
ETA Dev's user avatar
  • 21
1 vote
1 answer
254 views

how can I create a CustomPainter that animates between multiple colors depending on a value? The code below only works on one Tween value, create a smooth transition from blue to orange if the value ...
JBTG's user avatar
  • 91
-2 votes
1 answer
2k views

I have been struggling with this problem for the past 3ish days. Basically, I want the homepage of my app to have a wavelike pattern at the bottom of the screen. It is similar to this: However, I ...
Promaster's user avatar
  • 140
1 vote
1 answer
234 views

I am trying to center the Text within an arc in a flutter app. There are two elements in this. First the arcs with colors are painted on the canvas and the Text is stacked over it. The distance of ...
gputhige's user avatar
  • 139