Hello & Welcome to 2A Channel
Today we will talk about AnimatedPositioned widget
there are a bunch of flutter widgets
that feature sliding from slider itself
all the way up to dismissible and draggable if you're looking to implement
your own though a good widget as we will see in the next example
add to the center widget child widget  Column
add to the center widget child widget  Column
add stack widget
add container widget
height : 200 and width : 300
color amber
add positioned widget
child will be text widget
add argument top and left
add animatedPositioned widget to stack widget
and it takes two arguments child & duration
duration argument simply it is the time takes to run the animation
and choose two seconds
add container widget
height 50 & width 80
color deep purple
change container position to cover the text
add boolean variable showMessage and it is value false
add raised Button widget
when press this button animation started
add text child
add to onPressed function setState function
 
and in this function, we will change showMessage Value
on the top argument, we will change value depend on showMessage value
as you see  on emulator
you can slow or fast the animation by change duration value
Thank you for watching
