Skip to content

Commit 9624481

Browse files
committed
Add generated code references
1 parent c550c1a commit 9624481

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

docs/resources/data-representation/app-state.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ How this app state update will affect your app.
8282
- **Rebuild Current Page:** Rebuilds only the current page when this app state is updated.
8383
- **No Rebuild:** No rebuild is required.
8484

85+
:::tip[Generated Code]
86+
Curious about how state changes are handled internally when you choose different **Update Type** options? Explore the detailed [**FFAppState**](../../generated-code/ff-app-state) guide.
87+
:::
88+
8589
Here's a quick guide to updating the app state variable. We need to add an action to the 'Add to Bag' button. Within this action, we'll provide the product details and configure it to add to the current cart list.
8690

8791
<div style={{

docs/resources/projects/what-is-a-project.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,7 @@ A FlutterFlow project includes all the files and packages generated by the `flut
4848
- [**timeago**](https://pub.dev/packages/timeago): A library to format dates as a relative time (e.g., "5 minutes ago").
4949

5050
Any elements (e.g. pages, widgets), business logic or packages that are added to the project will be included in the generated code.
51+
52+
:::tip[Generated Code]
53+
FlutterFlow automatically generates a complete Flutter application for you. To dive deeper into the project structure of a Flutter app generated by FlutterFlow, explore the [**Directory Structure**](../../generated-code/directory-structure.md) guide.
54+
:::

docs/resources/ui/pages/intro-pages.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,8 @@ In FlutterFlow, each **Page** you create is fundamentally structured using a **S
1313
For more details on how to use Scaffold and the various Page Elements in FlutterFlow, see the dedicated **[Page Elements](page-elements.md)** guide.
1414
:::
1515

16-
<!--
17-
:::tip[Generated Code]
1816

19-
[See how](../generated-code.md) FlutterFlow converts your page into Flutter
20-
code
21-
:::
22-
-->
17+
2318

2419
## Creating a Page
2520

@@ -31,6 +26,10 @@ FlutterFlow allows you to easily create new pages using the Page Selector
3126
button, which is available in the **Widget Tree menu (Tab+2)**. This will help you
3227
quickly start and add new pages to your app.
3328

29+
:::tip[Generated Code]
30+
When you create a page in FlutterFlow, a `Widget` class and a corresponding `Model` class are automatically generated. You can view these in the Code Viewer. To explore the details of the generated `Model` class, take a closer [**look at the code**](../../../generated-code/page-model.md).
31+
:::
32+
3433

3534
<img src="/img/page-selector.png" width="50%" />
3635

0 commit comments

Comments
 (0)