I want to create different locations circles shaped from the app bar using flutter, like this
image also without using packages?
This article about flutter custom paints may help a link
Related
I am making a painter program and I want know the colour of a point when tapping on it
You can use this package: pixel_color_picker.
I am doing Flutter development. I want to add image like this and want to know how such effects or images are created. I think 3D effect is used. But I don't know how to create such image. Please help.
[![Attached Image][1]]
[1]: https://i.stack.imgur.com/TNiUZ.png
You can either directly create this kind of image using your picture editor (PS, Figma, Paint, anything really). Add manually a margin to your Card and set the Runner for it to be out of the Card. Then simply display the picture file in Flutter using Image.assets(...).
In the case you want to programmatically create a similar image you can use a Stack in Flutter in order to make the runner picture overflow the card positioning manually both pictures.
I'm trying to recreate a UI in flutter that looks like this I need to get this shapes in the position they appear in the image above, I did some research and came across Flutter Custom Paint, tried checking for tutorials on how to use it to achieve this design but can't find anything that points me in the right direction. Please is there anyway in flutter to recreate this UI?
Instead of complicating things
You can use stack for overlapping
And for that circles you can use containers with borderradius
and using positioned widget to position the circles based on your need
MORE THAN THIS
you can export that design as an image and use
Stack{
children[
THAT IMAGE,
YOUR UI,
]}
I am trying to create a dynamic logo using as a splash screen using dart flutter as the below image
So as the previous image this shield logo there's a way to create it dynamically using dart-flutter as to able to animate it easily as dragable those small squares in the shield logo...
There's a tutorial or docs related to this case could help me...
I hope this would be clear enough..
If there is no user interaction then you could use
Lottie animation or else if you want to have a user interaction with the animation to it then you could do like
ColorFiltered with the position
Update the state of the position from drag/click position
I want to do just that on the flutter, can anyone help me?
Clickable Marked points on an Image
Hello, I need to show an image with clickable dots on the screen and trigger an action when the user clicks on these dots. I heard that it is made with SVG, I've searched in several places but I find no solution in the flutter.
I was struggling with a similar situation.
Slah's solution --- put a operational layer on top of the background image --- works if you don't need pinch to zoom the image, but in my case the positioned widgets get invalid when zooming in the image.
My solution is embedding the image into a webview, you may use webview_flutter because it can be easily plugged onto your widget tree, but I think in your case flutter_webview_plugin works too since you just need to listen to some click events. Add hyperlinks to the elements to be clicked, then play with the click event by webviewcontroller(webview_flutter) or onUrlChanged Stream(flutter_webview_plugin).
One benefit you can get immediately is the ability to use .svg without any other packages by Uri.dataFromString('<html><svg>some svg codes</svg></html>', mimeType: 'text/html').toString()
Then you have full control of the appearance(via css) and the behavior(via javascript). e.g.You may define irregular areas to be clickable, and responsive to clicks.