Just to explain, the FAB's background, border radius and shadow are animated between the two states. For the location of the FAB/Dialog, I've used simple Spaces on the left, top, right and bottom of it and tried animating their
    weight
    with a bit of nice timing to make it look cool. Very simple 🙂