Skip to content

Commit c62d1fa

Browse files
authored
Merge branch 'main' into david/account-and-billing-QA
2 parents 505a263 + 191529c commit c62d1fa

File tree

225 files changed

+5563
-466
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

225 files changed

+5563
-466
lines changed
137 KB
Loading
128 KB
Loading

docs/accounts-billing/new-pricing-comparison.md

Lines changed: 757 additions & 0 deletions
Large diffs are not rendered by default.

docs/accounts-billing/plan-pricing.md

Lines changed: 571 additions & 4 deletions
Large diffs are not rendered by default.

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,16 @@ You need to create an instance of a class so you can work with actual data and u
139139
);
140140
```
141141

142-
- You can reuse the same class structure multiple times with different review data.
142+
- In FlutterFlow, you will store the instance of the custom class in the [state variables](../../ff-concepts/state-management/state-variables.md#state-variables) of your app, page, or component.
143+
- You can create multiple instances of the same class, reusing the same structure multiple times, each with different review data.
143144

144145
When you create an instance of a class, you can:
145146

146147
- Store actual review details.
147148
- Access and update the fields (e.g., `review1.rating` or `review1.comment`).
148149
- Call methods that do something with that data (e.g., `review1.markHelpful()` or `review1.shortComment()`).
149150

150-
To create an instance of a custom class, open the **Set from Variable** dialog and select **Create Custom Class Instance**. Choose the class you want to use, then select the class name from the **Constructor** dropdown. After that, set values for each of the required fields.
151+
To create an instance of a custom class, first you need to [create a state variable](../../ff-concepts/state-management/state-variables.md#creating-state-variables) (of type Custom Class) that will hold the instance. Then, to create and add the instance to the state variable, open the **Set from Variable** dialog and select **Create Custom Class Instance**. Choose the class you want to use, then select the class name from the **Constructor** dropdown. After that, set values for each of the required fields.
151152

152153

153154
<div style={{
@@ -412,7 +413,15 @@ Use the **Call Static Method** action to run a static method of your class. For
412413
413414
Similar to how you add a custom class, you can also add Custom Enums in your app. [Enums](../../resources/data-representation/enums.md) are a great way to define a fixed set of values, such as user roles, order statuses, or content types. Once parsed, these enums become available throughout your app and can be used in dropdowns, conditionals, and UI bindings.
414415
415-
For example, you could define an enum called `ReviewStatus` with values like `pending`, `approved`, and `rejected`.
416+
For example, you could define an enum called `ReviewStatus` with values like `pending`, `approved`, and `rejected`. Here's the code snippet for it:
417+
418+
```jsx
419+
enum ReviewStatus {
420+
pending,
421+
approved,
422+
rejected,
423+
}
424+
```
416425

417426
![custom-enums.avif](imgs/custom-enums.avif)
418427

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ necessary code.
6868
This can significantly speed up the building process and reduce the need for in-depth programming
6969
knowledge, making it especially useful for custom functions and actions.
7070

71-
**Limitation:** The prompts are limited to 100 characters currently.
71+
:::info[Limitation]
72+
Your prompt must be at least 3 words and no more than 500 characters.
73+
:::
7274

7375
<div style={{
7476
position: 'relative',

docs/ff-concepts/navigation-routing/deep-dynamic-linking.md

Lines changed: 134 additions & 36 deletions
Large diffs are not rendered by default.

docs/ff-concepts/notifications/push-notifications.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You can add and send push notifications manually or trigger them based on user a
2727
:::info[General Prerequisites]
2828
Before you begin, ensure that you:
2929
- Complete all the steps in
30-
[**Firebase Setup**](../../ff-integrations/firebase/connect-to-firebase-setup.md).
30+
[**Firebase Setup**](../../ff-integrations/firebase/connect-to-firebase-setup.md). Note that, while setting up, make sure to follow step number 5 and 8 carefully from [**Allow FlutterFlow to Access Your Project**](../../ff-integrations/firebase/connect-to-firebase-setup.md#allow-flutterflow-to-access-your-project) section to properly add the **Cloud Functions Admin** role to **[email protected]** user.
3131
- Upgrade your Firebase project to the [**Blaze plan**](https://firebase.google.com/pricing) to enable [**Cloud Functions**](https://firebase.google.com/docs/functions), which are required specifically for FlutterFlow’s push notification setup, such as retrieving the FCM token and sending notifications trigger from FlutterFlow.
3232
:::
3333

docs/ff-integrations/ai/ai-agents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Here are some examples of AI Agents:
2121

2222
:::info[Prerequisite]
2323
Before you begin setting up AI Agents, make sure you:
24-
1. Connect your project to Firebase by completing the [**Firebase Setup**](../firebase/connect-to-firebase-setup.md).
24+
1. Complete all the steps in [**Firebase Setup**](../firebase/connect-to-firebase-setup.md). Note that, while setting up, make sure to follow step number 5 and 8 carefully from [**Allow FlutterFlow to Access Your Project**](../firebase/connect-to-firebase-setup.md#allow-flutterflow-to-access-your-project) section to properly add the **Cloud Functions Admin** role to **[email protected]** user.
2525
2. Upgrade your Firebase project to the [**Blaze Plan**](https://firebase.google.com/pricing), as we rely on [**Firebase Cloud Functions**](https://firebase.google.com/docs/functions) to handle AI-related communication securely.
2626
:::
2727

docs/ff-integrations/maps/google-maps/google-maps-widget.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ description: Learn how to add and configure the Google Maps widget in your Flutt
55
tags: [Google Maps, Widget, Integration]
66
sidebar_position: 2
77
keywords: [FlutterFlow, Google Maps, Widget, Integration]
8+
toc_max_heading_level: 4
89
---
10+
import Tabs from '@theme/Tabs';
11+
import TabItem from '@theme/TabItem';
912

1013
# Google Maps Widget
1114

@@ -155,6 +158,70 @@ the Map**.
155158
<div class="video-container"><iframe src="https://www.loom.
156159
com/embed/1b06bfc1365f4fc68f15089d4f84d798?sid=ff33ea94-cd7f-4b4e-822e-6fe0743dbd27" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
157160

161+
#### Map Takes Gesture Preference
162+
When this is turned on, any gestures, such as zooming or dragging, will only affect the map, not the rest of the page. This is helpful if your map is inside a scrollable page, so users can interact with the map without accidentally scrolling the whole page.
163+
164+
:::info
165+
This setting is only available if **Allow Interacting** and **Allow Zooming** are turned on.
166+
:::
167+
168+
<Tabs>
169+
<TabItem value="1" label="Map Takes Gesture Preference (Disabled)" default>
170+
<div style={{
171+
position: 'relative',
172+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
173+
height: 0,
174+
width: '100%'}}>
175+
<iframe
176+
src="https://demo.arcade.software/JC6AnbIQpfSPfENrbd6s?embed&show_copy_link=true"
177+
title=""
178+
style={{
179+
position: 'absolute',
180+
top: 0,
181+
left: 0,
182+
width: '100%',
183+
height: '100%',
184+
colorScheme: 'light'
185+
}}
186+
frameborder="0"
187+
loading="lazy"
188+
webkitAllowFullScreen
189+
mozAllowFullScreen
190+
allowFullScreen
191+
allow="clipboard-write">
192+
</iframe>
193+
</div>
194+
<p></p>
195+
</TabItem>
196+
<TabItem value="2" label="Map Takes Gesture Preference (Enabled)">
197+
<div style={{
198+
position: 'relative',
199+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
200+
height: 0,
201+
width: '100%'}}>
202+
<iframe
203+
src="https://demo.arcade.software/m5EdLhn4tlkjfRhhquqg?embed&show_copy_link=true"
204+
title=""
205+
style={{
206+
position: 'absolute',
207+
top: 0,
208+
left: 0,
209+
width: '100%',
210+
height: '100%',
211+
colorScheme: 'light'
212+
}}
213+
frameborder="0"
214+
loading="lazy"
215+
webkitAllowFullScreen
216+
mozAllowFullScreen
217+
allowFullScreen
218+
allow="clipboard-write">
219+
</iframe>
220+
</div>
221+
<p></p>
222+
</TabItem>
223+
</Tabs>
224+
158225
### Show User Location
159226

160227
When enabled, a blue dot appears on the map to indicate the user's current location. If the map is

0 commit comments

Comments
 (0)