Skip to content

Commit 7776ac1

Browse files
authored
Merge branch 'main' into david/Google-Play-Store-Deployment-Issues
2 parents 4b8593a + b60ece9 commit 7776ac1

File tree

284 files changed

+5995
-916
lines changed

Some content is hidden

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

284 files changed

+5995
-916
lines changed
7.71 KB
Loading
7.45 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: 172 additions & 252 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/layout/responsive-layout.md

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,58 @@ To implement this, we can go to its widget properties and toggle the device icon
196196

197197
And now you have a more responsive screen for this shopping app use case that looks good in both mobile and desktop formats.
198198

199-
With these adjustments, your shopping app now boasts a highly responsive screen that seamlessly adapts to both mobile and desktop formats. This ensures an optimal user experience across all devices, maintaining both functionality and aesthetic appeal.
199+
With these adjustments, your shopping app now boasts a highly responsive screen that seamlessly adapts to both mobile and desktop formats. This ensures an optimal user experience across all devices, maintaining both functionality and aesthetic appeal.
200+
201+
## Responsive Value
202+
203+
**Responsive Values** allow you to define different property values, such as widths, heights, font sizes, or padding, for different device sizes (mobile, tablet, desktop, and wide). At runtime, your app evaluates the screen width and automatically applies the appropriate value based on your configurations.
204+
205+
:::info[possible use cases]
206+
207+
- **Adaptive Layouts**: Automatically adjust element sizes to deliver a consistent UI across devices.
208+
- **Better Readability**: Increase font size on larger screens to improve legibility.
209+
- **Improved Spacing**: Use different padding or margins on tablets and desktops to optimize content flow.
210+
211+
:::
212+
213+
To set a responsive value, select a widget and choose a property that supports responsiveness. Click **Set from Variable > Responsive Value**, then enter different values for each screen size:
214+
215+
- Mobile (below `Breakpoint Small`)
216+
- Tablet (below `Breakpoint Medium`)
217+
- Desktop (below `Breakpoint Large`)
218+
- Wide (above `Breakpoint Large`)
219+
220+
As you preview on different devices, the property will automatically adjust based on the selected screen size.
221+
222+
:::tip[Customizing Breakpoints]
223+
224+
You can adjust the default screen size breakpoints (mobile, tablet, desktop, wide) in FlutterFlow’s Theme Settings. See how to [**Customize Breakpoints**](#customize-responsive-breakpoints).
225+
226+
:::
227+
228+
229+
<div style={{
230+
position: 'relative',
231+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
232+
height: 0,
233+
width: '100%'}}>
234+
<iframe
235+
src="https://demo.arcade.software/0XfY0BCqlcIrsXhOGlCh?embed&show_copy_link=true"
236+
title=""
237+
style={{
238+
position: 'absolute',
239+
top: 0,
240+
left: 0,
241+
width: '100%',
242+
height: '100%',
243+
colorScheme: 'light'
244+
}}
245+
frameborder="0"
246+
loading="lazy"
247+
webkitAllowFullScreen
248+
mozAllowFullScreen
249+
allowFullScreen
250+
allow="clipboard-write">
251+
</iframe>
252+
</div>
253+
<p></p>

0 commit comments

Comments
 (0)