Every example uses the published expandable_animation API and has a runnable version in the live demo and the example app.