Skip to main content

Dispose Page

Call page.dispose() to release the resources held by a FSPage object.

This is usually handled automatically, but may be done manually for situations where the dart Finalizer does not release the resources correctly or in a timely manner.

Once dispose() is called on a page, calling any other method on it will result in an error. Only call dispose for limited-use pages that will not be around for the lifetime of the app.

Additional Information