Skip to content

Commit e2e5377

Browse files
committed
Include Code Files in accessible resources
1 parent 5fcb620 commit e2e5377

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/resources/projects/libraries.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ Once the library is imported, following resources are accessible for use:
188188
- [API Calls](../../resources/control-flow/backend-logic/api/rest-api.md)
189189
- [Action Blocks](../../resources/control-flow/functions/action-blocks.md)
190190
- [Custom Functions](../../ff-concepts/adding-customization/custom-functions.md), [Actions](../../resources/control-flow/functions/action-flow-editor.md), and [Widgets](../../resources/ui/widgets/intro-widgets.md)
191-
- [Assets](../../resources/projects/settings/general-settings.md#app-assets) (Note: These are not versioned)
191+
- [Assets](../../resources/projects/settings/general-settings.md#app-assets) (Note: These are not versioned)
192+
- [Code Files](../../ff-concepts/adding-customization/code-file.md)
192193

193194
:::info
194195
- [**Pages**](../../resources/ui/pages/intro-pages.md), [**Firestore Collections**](../../ff-integrations/database/cloud-firestore/creating-collections.md), and [**Cloud Functions**](../../ff-concepts/adding-customization/cloud-functions.md) are still being worked on and may come in future updates.
@@ -199,7 +200,8 @@ It's important to note that these resources show up where they are instantiated.
199200

200201
- **Components** appear in the widget palette.
201202
- **API calls** appear when making API calls in the action flow editor.
202-
- **Custom functions** are available when setting up actions or functions within the app.
203+
- **Custom Functions** are available when setting up actions or functions within the app.
204+
- **Code Files** (Dart files containing classes or enums) become available when [creating instances](../../ff-concepts/adding-customization/code-file.md#create-custom-class-instance), allowing you to access their fields and methods. They also appear in the action flow editor when adding [custom class actions](../../ff-concepts/adding-customization/code-file.md#set-field-action).
203205

204206
This ensures that only relevant resources are shown where they are needed, optimizing performance and discoverability.
205207

0 commit comments

Comments
 (0)