0

I saw some videos in YouTube about how to make a Neon button in flutter, but i could not find a tutorial about how to make Glowing button in jetpack compose.

can we make a Glowing Button in jetpack compose?

somthing like one of these buttons:

enter image description here

Reza Zeraati
  • 303
  • 1
  • 8
  • Can you attach screenshot of you expectation? – Sky Oct 30 '22 at 12:41
  • yeah. I added an image – Reza Zeraati Oct 30 '22 at 13:13
  • 1
    Reza you can check this answer out. Since OP asks for only stroke but you can draw a rectangle behind a button as in this answer. I can provide full answer when i'm avilable. https://stackoverflow.com/questions/72973630/how-to-draw-a-square-with-stroke-and-neon-glow-with-jetpack-compose-canvas. With some tweak you can add glow/dim effect as in this video. https://user-images.githubusercontent.com/35650605/179715223-ba681886-6032-461f-806a-ea6a535d0627.mp4 the drawing glows and dims using an infinite transitition – Thracian Nov 02 '22 at 06:05
  • Thanks Thracian. it was good. I didn't understand how to add glow by the video. I can't wait to see your full answer. Thank you very much – Reza Zeraati Nov 02 '22 at 16:44

0 Answers0