Question:
I want to create a resizable container which can be resized by user using horizontal drag.This Gif can explain the requirement:

I tried GestureDetector.horizontal drag but the results are way off:

I am looking for a way to get size change of one side using drag, also the width should decrease or increase on the basis of dragging direction and if possible the whole container can be moved as well.
Answer:
You can useStack
with Positioned
widget to handle container sizing and to drag the full container I am using transform
.
Run on dartPad
You can play with this widget.
If you have better answer, please add a comment about this, thank you!