Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
deleted wrongly committed content to this PR
  • Loading branch information
mrdavidorok committed Aug 13, 2025
commit 9b033651f7a62bb1e057d6cf3f46eb812d8acaae
28 changes: 0 additions & 28 deletions docs/ff-concepts/adding-customization/custom-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,33 +100,5 @@ function code. Instead, you can pass the app state variable as a parameter and t

</details>


<details>
<summary>How do I convert a string to a double in FlutterFlow using a custom function?</summary>

If you need to convert a string (for example, `"123.45"`) into a `double` in FlutterFlow, you can do this with a Custom Function.

Below is a simple Dart example:

```dart
double stringToDouble(String value) {
return double.tryParse(value) ?? 0.0;
}
```
Steps to use in FlutterFlow:

- Go to Custom Functions in the left panel.
- Click + Add Function.
- Name the function (e.g., stringToDouble).
- Add a String parameter (e.g., value).
- Paste the code above.
- Save and use the function anywhere in your app (such as in a binding or conditional logic).

:::tip
- You don’t always need to write your own function — FlutterFlow’s **[Utility Functions Library](https://marketplace.flutterflow.io/item/ZVBmWMGpXe6vqnASRHDA)** already contains a stringToDouble method (and many others) that can save you time.
- You can install it from the Marketplace and use it immediately without creating custom code.
:::
</details>

## Utility Functions Library
Instead of building everything from scratch, explore our **[Utility Functions Library](https://marketplace.flutterflow.io/item/ZVBmWMGpXe6vqnASRHDA)** — packed with 50+ helpful functions for everyday tasks like formatting text, manipulating dates, validating input, and more. Easily plug them into your custom logic to save time and reduce errors.