Animate your Flutter Applications (Here's how!)

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ธ.ค. 2024

ความคิดเห็น • 12

  • @rogsninja
    @rogsninja 5 หลายเดือนก่อน +1

    So with animation being that simple when are we getting fulling animated skills and spells for all of Memories of Sheol

    • @CodeWithCypert
      @CodeWithCypert  5 หลายเดือนก่อน

      When the game is profitable enough to hire someone to animate all of that :)

  • @tusharchander8935
    @tusharchander8935 5 หลายเดือนก่อน +1

    neat.

    • @CodeWithCypert
      @CodeWithCypert  5 หลายเดือนก่อน

      I’m glad you think so!

    • @tusharchander8935
      @tusharchander8935 5 หลายเดือนก่อน +1

      @@CodeWithCypert You could have used animated_do . But once in a while knowing about Flutter is also essential rather than heavily relying on libraries.

    • @CodeWithCypert
      @CodeWithCypert  5 หลายเดือนก่อน

      @@tusharchander8935 I generally try to avoid libraries for one off type things, but I haven’t explored animation packages for Flutter. That might be a fun thing to do, too!

    • @tusharchander8935
      @tusharchander8935 5 หลายเดือนก่อน +1

      @@CodeWithCypert Well you would just require a SlideUp property from this library. You would be simply wrapping your widget to be animated, be it text widget, Quite easy.

    • @CodeWithCypert
      @CodeWithCypert  5 หลายเดือนก่อน

      Yeah, that doesn't sound bad, but I factor in the cost to maintain the dependency, too -- which might sound weird, but hear me out:
      When you pull in a dependency for anything, you're pulling in that package and it's dependencies. Thankfully, dart is compiled so we can only pull in the pieces we need, but we also can run into version conflicts between our dependencies' dependencies. My main app, Luna Journal, uses a LOT of third party dependencies and upgrading certain dependencies is often a nightmare because of this (and upgrading the Flutter version ALWAYS is too, for the same reason).
      So generally, I just try to avoid extra deps when I can because I find that overhead isn't worth it for small, one-off things. Things like Bloc though, I think the overhead is worth it when it's used all throughout the app :)
      What are your thoughts, Tushar?