How to make new draggable Container whenever I click a button? - Flutter

117

I hope this article can help you

A Deep Dive Into Draggable and DragTarget in Flutter

Share:
117
Admin
Author by

Admin

Updated on December 29, 2022

Comments

  • Admin
    Admin over 1 year

    I'm new to Flutter.

    I want to make something like powerpoint app.

    If I click button, return draggable container.

    So users can drag container to any place.

    And If I click button again, return new draggable container again.

    But it's too hard for me.

    can anybody help me?

    • Nisanth Reddy
      Nisanth Reddy almost 3 years
      You need to use a combination of Draggable, Stack and Positioned to achieve. Give it a try. Re post here once you have a bit of code.