Skip to content

Commit 5fcb620

Browse files
committed
Add FAQ section on using custom classes in Library Projects
1 parent 6755b6a commit 5fcb620

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/ff-concepts/adding-customization/code-file.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,4 +459,15 @@ You can access the custom enums from **Set from Variable** menu > **Custom Enum*
459459
- Keep your custom class files modular and focused; ideally one class per file for better organization and reusability.
460460
- Avoid advanced Dart features that are not supported by FlutterFlow’s parser, such as generics or function-typed fields.
461461
- Re-parse your code after making changes to ensure FlutterFlow updates the parsed structure correctly.
462-
- Document your code with comments to make your custom classes easier to understand and maintain over time.
462+
- Document your code with comments to make your custom classes easier to understand and maintain over time.
463+
464+
## FAQs
465+
466+
<details>
467+
<summary>
468+
Can I add Custom Classes (Code Files) in a Library Project?
469+
</summary>
470+
<p>
471+
Yes, you can. When a Library Project is imported, any custom code files you’ve defined will be parsed, and the resulting classes will be available for use in the consuming project.
472+
</p>
473+
</details>

0 commit comments

Comments
 (0)