Flutter Canvas CustomPainter Animations on top of widgets

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 14

  • @madhank93
    @madhank93 3 года назад +1

    Nicely done 🙏

  • @NitrosS
    @NitrosS 2 года назад +1

    Timer = Magic

  • @CodingwithIndy
    @CodingwithIndy  3 года назад +1

    Re: "Your random range generator is off by one" - Randal L. Schwartz
    NextDouble() returns partial open range, from 0 up to 1.0
    GetRange(min,max) => r.NextDouble() * (max-min) + min;
    returns a number from min up to max, (not including max.)
    So it's not off by one, it's as intended.

  • @cptsakamoto
    @cptsakamoto 18 дней назад

    We're updating the particles on setState isn't this UI expensive to do it?

  • @argenzhukeev7466
    @argenzhukeev7466 3 года назад +1

    First like and start watching

  • @NitrosS
    @NitrosS 2 года назад

    But you could've called p.pos += Offset(p.dx, p.dy) inside shouldRepaint, or have a update method to do the movement of the particles...

  • @flutterapp8656
    @flutterapp8656 3 года назад

    Nice Tutorial.👏👍
    Could you please tell me how to do Image Sharpening in Flutter.?

    • @CodingwithIndy
      @CodingwithIndy  3 года назад

      Sharpen an image you took with your camera?

    • @flutterapp8656
      @flutterapp8656 3 года назад

      @@CodingwithIndy No Indy, I have a low quality, dull image(.png) used in my Flutter application from assets folder. Now I want to sharpen that image(to look more detail by highlighting it's edges and contents) and display on application screen.

    • @CodingwithIndy
      @CodingwithIndy  3 года назад +1

      @@flutterapp8656 You can't hope to get better quality by sharpening low quality images. Simply there's no pixel information. Start with better images. Image sharpening when the original image is blurred is something else.

  • @strigo2548
    @strigo2548 Год назад

    interesting...but channel is dead almost for year((