Refactor Project
Refactor Project is a developer‑focused mode that opens your FlutterFlow Studio project as a set of YAML files so you can perform large-scale edits in a single, consistent operation.
For example, if you want to use a custom data type from a Library and update all references, you don’t have to manually edit each page or component. With this mode enabled, you can update all references at once using a single refactor pass.
It makes managing large projects easier and more reliable. You can make changes across hundreds of references in just seconds, saving time and effort compared to manual edits. It also lets you preview changes and dismiss anything you don’t want to update.
To refactor a project, go to Toolbar > Developer Menu > Refactor Project. You’ll need to commit any unsaved changes before entering the refactor view. This opens your project in a YAML-based editor, where you can search, edit, and replace values across multiple files.
You can also use key reference search by toggling the key icon—currently supported for data types, enums, pages, and components. Changes are color-coded: added lines appear in green, and removed lines appear in red. As you make changes, FlutterFlow Studio provides inline YAML validation to help you catch and fix issues in real time.
When you’re done, click Commit to save the changes. After that, test your app to make sure all widgets, actions, and bindings still work as expected.
Last updated on