This guide describes steps to migrate legacy Team Code Libraries, Team API Libraries and partially Team Design Libraries to new FlutterFlow Libraries.

The scope of this migration:

Step 1 - duplicate legacy projects as library

Find your project on the dashboard and select the “Duplicate as Library” option.

Screenshot 2024-10-23 at 5.48.53 PM.png

Enter a name for the new library and click “Create Library”. You’ll be redirected to the new project.

Screenshot 2024-10-23 at 5.49.22 PM.png

Step 2 - create App State fields

If you are migrating a team code library that uses FFAppState , you should create the necessary fields in the newly created library project.

Step 3 - publish new version

Open “Settings/Publish as Library” and publish the first version of the project. To learn more about Libraries and publishing new version, see the documentation.

Screenshot 2024-10-23 at 5.51.08 PM.png

Step 4 - add the library as a dependency

Open a project that depends on the legacy library.

Go to Settings/Project Dependencies and click “Add Dependency”. Select the library that you created in the previous step.

To learn more about adding Libraries as dependencies, see the documentation.