Skip to content

Commit f4662b7

Browse files
committed
Add more clarifications and fix links
1 parent e5494f4 commit f4662b7

File tree

5 files changed

+24
-11
lines changed

5 files changed

+24
-11
lines changed

docs/resources/control-flow/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ data or performing calculations. In FlutterFlow, you can use
7272

7373
* **[Actions](functions/action-flow-editor.md):** Sequence of Logic performed in response to
7474
user interactions. For example:
75-
* **Updating State Variables:** Functions that modify the current state or data of the app,
75+
* **[Updating State Variables:](../../ff-concepts/state-management/state-variables.md)** Functions that modify the current state or data of the app,
7676
page, or
7777
component.
7878

7979
* **Widget-specific Functions:** Functions applicable to various widgets that need specific
8080
actions, such as scrolling to an item in a ListView, clearing text fields, or calling third-party
8181
integration functions.
8282

83-
* **Custom Actions:** More complex actions written in **Flutter & Dart** that can be added as a node to
83+
* **[Custom Actions:](../../ff-concepts/adding-customization/custom-actions.md)** More complex actions written in **Flutter & Dart** that can be added as a node to
8484
the action flow editor.
8585

8686
* **[Navigation:](../../ff-concepts/navigation-routing/nav-overview.md)** Functions that handle

docs/resources/data-representation/global-properties.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@ keywords: [Global Properties, FlutterFlow, Data Representation]
99

1010
# Global Properties
1111

12-
Global properties are accessible across all pages of your app. They act as a utility function to accomplish a common task regardless of the type of app you are developing.
12+
Global properties are **built-in variable**s in FlutterFlow that you can use across all pages of your app. These properties are predefined by FlutterFlow, meaning you cannot create or modify them yourself. They are designed to help you perform common tasks efficiently, no matter what type of app you’re developing.
1313

14-
For instance, you may need to redirect to a different page if a user is not logged in. Or, you may want to enable specific functionality based on the platform. In such scenarios, global properties are useful.
14+
For example, global properties can be used to redirect users to another page if they are not logged in or to enable specific functionality based on the platform your app is running on.
1515

16-
You can access these properties via the **Set from Variable menu > Global Properties**.
16+
You can access these properties through the **Set from Variable** menu **> Global Properties**.
17+
18+
<p></p>
1719

1820
![global-properties.avif](../imgs/global-properties.avif)
1921

20-
:::note
21-
Global properties are variables exposed by FlutterFlow. You can't create one by yourself.
22+
:::caution
23+
Global properties are built-in variables exposed by FlutterFlow. You can't create one by yourself.
2224
:::
2325

2426
## List of Global Properties

docs/resources/data-representation/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ Learn more about data types [**here**](data-types.md).
5252

5353
All variables in FlutterFlow are mutable. This means you can change their values at runtime based on user interactions or other events in your app. FlutterFlow also supports immutable data, such as [Constants](constants.md) that cannot be changed once they have been set.
5454

55-
## Global data
55+
## Global Properties
5656

57-
Global data are accessible from anywhere within the app. They are helpful, especially when the data is required frequently or by various components or pages. In FlutterFlow, they are available as [Global Properties](global-properties.md).
57+
Global properties in FlutterFlow are built-in variables that you can use across your app, but they cannot be created or modified by users. Learn [how to leverage these predefined properties](global-properties.md) to simplify common tasks.
5858

5959
## Encapsulation
6060

docs/resources/ui/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ A Page usually contains a combination of widgets and components.
6060
![everything-widget.png](imgs%2Feverything-widget.png)
6161

6262
Let's talk about widgets first,
63-
which are the the atomic elements or building blocks of the UI structure in FlutterFlow.
63+
which are the atomic elements or building blocks of the UI structure in FlutterFlow.
6464

6565
Each widget can be thought of as an atom or a molecule, depending on its complexity and its parent-child
6666
relationship. For example, an atomic widget (such as `TextField`) cannot hold a child element, but

docs/resources/ui/pages/page-elements.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ and offers customization with a variety of styles and functionalities.
2222

2323
The AppBar is divided into the following sections:
2424

25-
- **Leading:** Typically holds a menu or back button, providing navigation control.
25+
- **Leading:** Typically holds a **menu** or **back icon** that provides navigation control. By default, if there is a [**drawer**](#drawers) or [**page navigation**](../../../ff-concepts/navigation-routing/page-navigation.md) with ["Allow Back Navigation" enabled](../../../ff-concepts/navigation-routing/page-navigation.md#navigate-to-action), a specific icon (such as a menu or back arrow) is displayed. However, you can override this with another [**Icon widget**](../../ui/widgets/built-in-widgets/icons.md) if desired, allowing for more tailored navigation options.
2626
- **Title:** Primarily serves to indicate the content of the active screen or to display the
2727
name of the application, aiding users in recognizing their context within the app. This section
2828
can also be customized with different widgets for a more tailored visual representation.
@@ -57,6 +57,17 @@ The AppBar is divided into the following sections:
5757
</iframe>
5858
</div>
5959

60+
### Enable Default Button
61+
The "Show Default Button" toggle in the **AppBar** Properties Panel controls whether the default leading icon (usually a back arrow or a menu icon) appears when the user can [navigate back](../../../ff-concepts/navigation-routing/page-navigation.md) or when a [Drawer](#drawers) is present on the page.
62+
63+
However, it's important to note that this default icon won't appear in the FlutterFlow canvas during the design stage. It only becomes visible when the app is running, and the conditions for showing the button are met.
64+
65+
If you wish to replace the default icon with another icon in the leading space, follow the [guide on adding an AppBar](#add-an-appbar-to-your-page).
66+
67+
:::tip[Generated Code]
68+
In the generated code, when this toggle is enabled, [`automaticallyImplyLeading`](https://api.flutter.dev/flutter/material/AppBar/automaticallyImplyLeading.html) property in the **AppBar** widget is set to `true`. This means that the appropriate default button will be displayed if a back navigation option or Drawer is detected when you run the app.
69+
:::
70+
6071
## Floating Action Button (FAB)
6172

6273
**Floating Action Button (FAB)** is a distinctive circular button that hovers over content, commonly

0 commit comments

Comments
 (0)