Skip to content

Commit 39b6298

Browse files
committed
Address review comments
1 parent 7bafed0 commit 39b6298

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Here's an example of an Action that returns a _nullable_ integer.
243243

244244
![return-value-actions.png](imgs/return-value-actions.png)
245245

246-
## Adding Description
246+
## Description
247247

248248
You can add a [**Description**](../../intro/ff-ui/resource-hierarchy.md#resource-description) note on Custom Functions and Custom Actions to briefly explain their purpose, usage, or important details. This helps clarify what the function or action is intended for, making your project more understandable and maintainable—especially in libraries and collaborative environments.
249249

@@ -253,6 +253,10 @@ You can view these descriptions as tooltips by hovering over the green note icon
253253

254254
![view-description-custom-function-and-custom-action](imgs/view-description-custom-function-and-custom-action.avif)
255255

256+
:::tip
257+
In the generated code, descriptions are added as comments above the custom code. In code editors, they appear as tooltips when you hover over the names of Custom Functions and Actions.
258+
:::
259+
256260
## Adding a Pubspec Dependency
257261
To utilize community-built Flutter solutions in your FlutterFlow projects, you can add a "pubspec dependency". The **pubspec file** is the configuration file in Flutter projects that lists external packages or libraries, along with other project configurations.
258262

0 commit comments

Comments
 (0)