A flexible package is disclosed. The flexible package includes at least one shape memory closure provided at an access opening of the package. A method of forming and dispensing contents from a flexible package is also disclosed. Various shape memory closures can be bubble-shaped or dome-shaped and can be hollow fluid-filled, solid, and the like.