81 questions
0
votes
0
answers
100
views
How to make radius & border in corner triangle using custom painter in flutter
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 ...
0
votes
0
answers
32
views
How to clip marked area in below image in flutter?
i created chart with custom painter but the problem is i want to set chartbar height fix but the fill color of chart show in entire screen how can i crop upper part of container based on char curves
...
0
votes
0
answers
84
views
How to get the information necessary from a Widget's paint to convert to SVG
I'm looking into a proof of concept for writing a Widget -> SVG converter in Flutter. My idea is to implement a custom Canvas which will build the SVG when painted to by the Widget's RenderBox (...
0
votes
0
answers
75
views
Flutter CustomPainter BlendMode feature
In the below code on srcPaint, I set blendMode = BlendMode.srcIn. Then, the srcPath should draw only the part that overlaps the dstPath, and the remaining parts of dstPath and srcPath should be hidden....
0
votes
0
answers
350
views
How to have a blur effect with Paint()
I would like to recreate the blurring effect that is done by BackdropFilter
ClipRect(
child: BackdropFilter(
filter: ui.ImageFilter.blur(sigmaX: 15, sigmaY: 15),
...
-1
votes
1
answer
152
views
How to draw on an image file
I have a Uint8List object which represents a picture. Then, I call a method that analyzes the picture and if some faces are present, it gives back a list of coordinates. At this point, I have to edit ...
0
votes
1
answer
272
views
Flutter handling canvas.saveLayer to make layers
I'm trying to make layer function like Photoshop in flutter.
For simple implementation, all pictures in a layer are the same color. For example, all drawings on layer 1 are red.
But each layer has a ...
0
votes
0
answers
73
views
Using Flutter, is it possible to render widget at specific resolution?
We are building out an application in which the user can build a 'form' using widgets in an InteractiveViewer. The goal is for the user to be able to print this form with things like textboxes, images,...
0
votes
1
answer
328
views
Making freely moving canvas drawing app in flutter
I'm trying to make a drawing app, which the canvas can rotate, zoom and transfer freely.
The rotate, zoom and transfer action should be only activated when it sense two fingers.
Else, when it pan on ...
1
vote
0
answers
344
views
How can I create a Rounded corner hexagon clipper in flutter
How can I create a Rounded corner hexagon clipper in flutter? I want it to look like this:
I have managed to draw the path for the hexagon, but i have no luck when trying to add the curves, so ...
1
vote
2
answers
678
views
The non-abstract class 'CustomCanvas' is missing implementations for these members
I am using flutter_smartlook for monitoring in my app. It was working fine, But after upgrading to the latest version 4.1.7. It started to cause an error while running. If I downgrade to 4.1.5. It was ...
0
votes
0
answers
741
views
how to draw SVG on CustomPainter Canvas with layer wise in flutter
i am looking to render svg image on canvas with layers.My aim is to transfer svg image on canvas layer wise. As SVG String contain tag by which we can decompose on flutter. but i did not find any ...
1
vote
1
answer
809
views
Flutter canvas draw raw points with different colors
I am trying to draw a lot of points to the screen quickly. I have created the following method.
void _paintPoints(Canvas canvas, List matrix, Size size) {
final width = size.width / matrix.length;
...
0
votes
0
answers
111
views
In the custompainter of the fluter, I want to draw two images overlaping
I want to implement a CustomPainter that draws a clock given images of hour, minute, and second hands, as well as an image of an empty clock face.
To account for the possibility of the image being too ...
0
votes
1
answer
123
views
Dart: Get bytes from Flutter-Canvas without opening Flutter App
Background
I am developing a pure Dart command line tool, which combines images from files.
Think creating NFTs by stacking images.
Using the pure Dart image library is slow, it takes about 11-20 ...