Skip to content

Commit 3953c43

Browse files
committed
Update inline function header and anchors
1 parent f91a166 commit 3953c43

File tree

8 files changed

+8
-7
lines changed

8 files changed

+8
-7
lines changed

docs/ff-concepts/animations/widget_animations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ If you notice carefully, the items appear in a staggered fashion. This can be ac
208208

209209
Select the item in the list and add the Slide animation.
210210

211-
In the Delay property, open the variable menu and add a [inline function](../../resources/control-flow/functions/utility-functions.md#inline-function) to calculate the delay value based on the item's index. For this example, we use the formula `[index] * 100`, where `index` represents the position of the item, and `100` is the delay in milliseconds. This means the first item will slide in after 100 ms, the second after 200 ms, and so on, creating a staggered animation effect.
211+
In the Delay property, open the variable menu and add a [inline function](../../resources/control-flow/functions/utility-functions.md#inline-function-code-expressions) to calculate the delay value based on the item's index. For this example, we use the formula `[index] * 100`, where `index` represents the position of the item, and `100` is the delay in milliseconds. This means the first item will slide in after 100 ms, the second after 200 ms, and so on, creating a staggered animation effect.
212212

213213
<div style={{
214214
position: 'relative',

docs/ff-integrations/payments/razorpay.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Follow the steps below to add this action:
137137
3. Search and select the **Razorpay Payment** (under *Integrations*) action.
138138
4. Enter or use a variable for specifying the total amount under the **Amount** section. **Note** that the value should be specified in the currency's smallest unit.
139139
- For example, *$24.99* should be passed as *2499* (as a round-off integer; otherwise, it would be automatically rounded); similarly, for an amount of ₹120.00, 12000 should be passed.
140-
- Most probably, you'll specify this value from a variable. If you do so, you might need this [inline function](../../resources/control-flow/functions/utility-functions.md#inline-function) to convert the total amount in the required format: `amount.toStringAsFixed(2).replaceAll(".", "");`
140+
- Most probably, you'll specify this value from a variable. If you do so, you might need this [inline function](../../resources/control-flow/functions/utility-functions.md#inline-function-code-expressions) to convert the total amount in the required format: `amount.toStringAsFixed(2).replaceAll(".", "");`
141141
5. Enter the **Currency Code** to be used for the amount, for example, *INR*, *USD*, *EUR*, or *BRL*. Make sure you enter a valid currency code; otherwise, the transaction won't go through. Download the complete [list of supported currencies](https://razorpay.com/docs/build/browser/assets/images/international-currency-list.xlsx).
142142
<p></p>
143143

docs/resources/control-flow/backend-logic/api/soap-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ You can now proceed to display the country list in *HomePage*. Here are the step
309309
<p></p>
310310

311311
4. On ListView, [generate dynamic children](../../../ui/widgets/composing-widgets/generate-dynamic-children.md) using the page state variable.
312-
5. The page state variable stores the country name and code as a single string (e.g., Australia - AT). To display the name and code separately in a *ListTile*, we can use a [inline function](../../../control-flow/functions/utility-functions.md#inline-function). To display the country name, we can use `var1.split("-")[1].trim()`, where `var1` is the current item in the list. To display the country code, we can use the same expression and replace `[1]` with `[0]`.
312+
5. The page state variable stores the country name and code as a single string (e.g., Australia - AT). To display the name and code separately in a *ListTile*, we can use a [inline function](../../../control-flow/functions/utility-functions.md#inline-function-code-expressions). To display the country name, we can use `var1.split("-")[1].trim()`, where `var1` is the current item in the list. To display the country code, we can use the same expression and replace `[1]` with `[0]`.
313313

314314
<div style={{
315315
position: 'relative',

docs/resources/control-flow/backend-logic/api/streaming-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ id: 2
356356
```
357357
The Server Sent Event Data JSON will be `null` because the data cannot be parsed as JSON.
358358

359-
You can fix this by using the following expression inside the [Inline Function](../../../control-flow/functions/utility-functions.md#inline-function) to handle the `null` case:
359+
You can fix this by using the following expression inside the [Inline Function](../../../control-flow/functions/utility-functions.md#inline-function-code-expressions) to handle the `null` case:
360360

361361
```
362362
responseData ?? ''

docs/resources/control-flow/functions/utility-functions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ together, with the same text style applied to all of them. If you need to combin
8585
values with different text styles for each, consider using the **[RichText](../../ui/widgets/basic-widgets/text.md#richtext-widget)** widget.
8686
:::
8787

88+
8889
## Inline Function (Code Expressions)
8990

9091
:::info

docs/resources/control-flow/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ There are different types of functions you can use in your app. Some examples in
6565
tasks, such as
6666
formatting
6767
data or performing calculations. In FlutterFlow, you can use
68-
[**Inline Function**](functions/utility-functions.md#inline-function) for simple data
68+
[**Inline Function**](functions/utility-functions.md#inline-function-code-expressions) for simple data
6969
manipulation tasks or use the
7070
**[Combine Text](functions/utility-functions.md#combine-text)** built-in
7171
function to concatenate strings.

docs/resources/control-flow/user-interactivity/forms/form-widgets/dropdown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ You might need to disable a dropdown when certain conditions are not yet met or
244244
To disable the dropdown:
245245

246246
1. Select the **DropDown** widget, move to the **Properties Panel > DropDown Search >** enable **Disable Dropdown** option.
247-
2. Click on **Unset** and select the source that returns the boolean value (i.e., True or False), such as boolean variable, [Conditions](../../../../../resources/functions/conditional-logic), [Inline Function](../../../../../resources/control-flow/functions/utility-functions.md#inline-function).
247+
2. Click on **Unset** and select the source that returns the boolean value (i.e., True or False), such as boolean variable, [Conditions](../../../../../resources/functions/conditional-logic), [Inline Function](../../../../../resources/control-flow/functions/utility-functions.md#inline-function-code-expressions).
248248

249249
![Disabling dropdown](../../imgs/disabling-dropdown.png)
250250

docs/resources/ui/widgets/built-in-widgets/sticky-header.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ com/embed/39bb5fc9068f4a759a4b0d6fd62e3f16?sid=ed5c274e-f1e0-4830-9702-dd35ac2d6
166166
4. Now, inside the *StickyHeader* *Content* section, add the **ListView** with a **Container**
167167
inside to display the list of matching contacts.
168168

169-
1. On this ListView, generate dynamic children from a variable that holds all the contacts. But while doing so, filter the list and extract only matching contacts using [Inline Function](../../../../resources/control-flow/functions/utility-functions.md#inline-function).
169+
1. On this ListView, generate dynamic children from a variable that holds all the contacts. But while doing so, filter the list and extract only matching contacts using [Inline Function](../../../../resources/control-flow/functions/utility-functions.md#inline-function-code-expressions).
170170
2. Now you can display the contact's details, such as name, inside the UI.
171171

172172
<div class="video-container"><iframe src="https://www.loom.

0 commit comments

Comments
 (0)