Skip to content

Commit d9bf8ff

Browse files
committed
updated
1 parent eb22f1a commit d9bf8ff

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

docs/troubleshooting/migrate-widget-issues/configure_text_widget_auto_size_behavior.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,21 @@ The `Auto Size` option allows the `Text` widget to automatically reduce its font
2121
2. Check its parent widget.
2222
3. Ensure both width and height are explicitly defined.
2323

24+
:::warning
2425
Without defined dimensions, the `Auto Size` feature may not behave as expected.
26+
:::
2527

2628
**Behavior Scenarios:**
2729

2830
The following examples illustrate how `Auto Size` behaves under different container configurations:
2931

30-
- Container with width set to `infinity` and height set to `100px`, `Auto Size` disabled.
31-
The text may overflow beyond the container.
32+
- Container with width set to `infinity` and height set to `100px`, `Auto Size` disabled. The text may overflow beyond the container.
3233

33-
- Container with width set to `infinity` and height set to `100px`, `Auto Size` enabled.
34-
The font size adjusts to fit the defined height.
34+
- Container with width set to `infinity` and height set to `100px`, `Auto Size` enabled. The font size adjusts to fit the defined height.
3535

36-
- Container with width set to `30%` and no height defined, `Auto Size` enabled.
37-
The feature has no visible effect due to missing height constraint.
36+
- Container with width set to `30%` and no height defined, `Auto Size` enabled. The feature has no visible effect due to missing height constraint.
3837

39-
- Container with width set to `70%` and height set to `50px`, `Auto Size` enabled.
40-
The text is resized to the minimum allowed font size to remain within the container.
38+
- Container with width set to `70%` and height set to `50px`, `Auto Size` enabled. The text is resized to the minimum allowed font size to remain within the container.
4139

4240
![](../assets/20250430121459696014.png)
4341

docs/troubleshooting/migrate-widget-issues/custom_widget_errors.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ This article demonstrates common errors and issues that may occur when creating
3131

3232
- **Widget Name Conflicts with Package Name**
3333

34-
One common issue is using a widget name that conflicts with the name of a package you have imported as a dependency.
34+
A common issue is using a widget name that conflicts with the name of an imported package.
35+
36+
Avoid generic or conflicting names like `main` or `widget`. Use unique widget names that do not overlap with package names.
3537

3638
![](../assets/20250430121324152439.png)
3739

@@ -41,7 +43,7 @@ This article demonstrates common errors and issues that may occur when creating
4143

4244
- **Missing Package Imports in Code**
4345

44-
After adding an external package as a dependency, it is required to import the package at the top of your code. If you forget to do this, you may encounter errors such as:
46+
After adding an external package as a dependency, you must import it at the top of your custom widget code. Failure to do so results in errors such as:
4547

4648
```js
4749
The method 'AnimatedText' isn't defined...
@@ -71,7 +73,7 @@ This article demonstrates common errors and issues that may occur when creating
7173
7274
- **Widget Name Mismatch Between UI and Code**
7375

74-
If you forget to update the widget name in the boilerplate code, a mismatch may occur between the widget name defined in FlutterFlow and the class name in your code. This will lead to compilation errors.
76+
A mismatch between the widget name in FlutterFlow and the class name in your code will cause compilation errors.
7577

7678
Incorrect example:
7779

docs/troubleshooting/migrate-widget-issues/emoji-size-on-ios-devices.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ On iOS devices, emojis can appear oversized when rendered inside text widgets, d
3232
This ensures that the emoji will resize according to the container's constraints and not exceed the intended bounds.
3333

3434
:::tip
35-
Auto-sizing works best when paired with fixed dimensions. This combination allows the emoji to scale appropriately while avoiding oversized rendering.
35+
Auto-Size works best when combined with fixed container dimensions. This approach prevents oversized emojis and supports responsive layouts.
3636
:::
3737

3838
![](../assets/20250430121252902305.png)
3939

4040
:::info
41-
For more context and support, refer to the **[official FlutterFlow guide on emoji rendering](https://intercom.help/flutterflow/en/articles/7044370-text-emoji-is-very-large-on-some-ios-devices)**.
41+
For more details and troubleshooting, see the **[official FlutterFlow guide on emoji rendering](https://intercom.help/flutterflow/en/articles/7044370-text-emoji-is-very-large-on-some-ios-devices)**.
4242
:::

docs/troubleshooting/migrate-widget-issues/infinite_scroll_pagination_in_listview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ If a `ListView` with **Infinite Scroll** enabled loads all items at once instead
1313
- The widget is placed inside a layout that allows height constraints to be respected.
1414
:::
1515

16-
Follow the steps below to configure listView for pagination:
16+
Follow the steps below to configure ListView for pagination:
1717

1818
1. **Ensure ListView Has a Defined Height**
1919
A `ListView` must have a height constraint to determine the viewport size and paginate correctly. Without a defined height, it will attempt to load all items.
2020

2121
2. **Let ListView Handle Its Own Scrolling**
2222
- Disable scrolling in any parent `Column` or scrollable container.
23-
- Enable the **Primary** option and wrap `ListView` in an `Expanded` widget.
23+
- Enable the **Primary** option, and wrap `ListView` in an `Expanded` widget.
2424
- This allows `ListView` to control scroll behavior and calculate items to load per page.
2525

2626
![](../assets/20250430121248035007.png)

docs/troubleshooting/migrate-widget-issues/rive_animation_loading_errors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Rive animations may fail to render when the source file is incorrectly linked. T
1818
1. **Verify the Rive File URL**
1919
Ensure the file URL ends with `.riv` and points directly to a hosted Rive file.
2020

21-
```js
21+
```text
2222
https://public.rive.app/community/runtime-files/1199-2317-jack-olantern.riv
2323
```
2424
@@ -27,7 +27,7 @@ Rive animations may fail to render when the source file is incorrectly linked. T
2727
2. **Copy the Correct Link from Rive Community:**
2828
2929
- Go to the animation page on the **[Rive Community](https://rive.app/community/)**.
30-
- Right-click the Download button.
30+
- Right-click the **Download** button.
3131
- Select Copy Link Address.
3232
3333
The copied link must end with `.riv`. Any URL that redirects to a webpage or file viewer will fail to render.

docs/troubleshooting/migrate-widget-issues/scroll_to_action_on_page_load.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ When a `Scroll To Action` fails to trigger during a page load, it is often becau
1616
## Steps to Ensure Reliable Scroll Behavior:
1717

1818
1. **Add a Delay Before the Scroll Action**
19-
Insert a `Delay Action` before the `Scroll To Action` to allow the widget tree to complete rendering. Recommended delay duration is `500700 ms`.
19+
Insert a `Delay Action` before the `Scroll To Action` to allow the widget tree to complete rendering. Recommended delay duration is 500 to 700 ms.
2020

2121
![](../assets/20250430121250453056.png)
2222

@@ -33,5 +33,5 @@ When a `Scroll To Action` fails to trigger during a page load, it is often becau
3333
:::
3434

3535
:::info[Additional Resources]
36-
**[Scroll To Action Failing on Page Load](https://intercom.help/flutterflow/en/articles/7047006-scroll-to-action-is-not-working-when-used-on-page-load)**
36+
Refer to **[Scroll To Action Failing on Page Load](https://intercom.help/flutterflow/en/articles/7047006-scroll-to-action-is-not-working-when-used-on-page-load)** for more troubleshooting help.
3737
:::

0 commit comments

Comments
 (0)