You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/resources/ui/components/intro-components.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ slug: /resources/ui/components
9
9
Components in FlutterFlow are reusable widgets. You design the widget once and can use it throughout your app
10
10
to save time, ensure consistency, and make it easier to maintain.
11
11
12
+
When you add a component to a [**Page**](../pages/intro-pages.md), it becomes part of that page's **[Widget Tree](../widgets/intro-widgets.md#widget-tree)**. This allows the component to interact with other widgets, inherit properties, and respond to state changes as part of the page's structure.
13
+
12
14
Components help in the following ways:
13
15
14
16
-**Consistency:** Components provide a consistent look and behavior, reducing the likelihood of
@@ -20,7 +22,7 @@ Components help in the following ways:
20
22
app automatically reflect those changes. This significantly reduces the effort required to
21
23
maintain and update the app.
22
24
23
-
:::tip[CLasses vs Instances]
25
+
:::info[CLasses vs Instances]
24
26
Learn more about **[Classes and their Instances](../overview.md)** and what they mean in
Copy file name to clipboardExpand all lines: docs/resources/ui/pages/intro-pages.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,29 +6,34 @@ sidebar_position: 1
6
6
7
7
# Introduction to Pages
8
8
9
+
In FlutterFlow, a **Page** represents a single screen in your app. Under-the-hood pages use a **Scaffold**, a [foundational widget from Flutter](https://api.flutter.dev/flutter/material/Scaffold-class.html) that provides a structured layout for a screen within your app. The Scaffold offers essential elements like the AppBar and Body, allowing you to easily build screens.
9
10
10
-
In FlutterFlow, each **Page** you create is fundamentally structured using a **Scaffold**, a [foundational widget from Flutter](https://api.flutter.dev/flutter/material/Scaffold-class.html) that provides a structured layout for your app. The Scaffold offers essential elements like the AppBar, Floating Action Button (FAB), Drawer, and Body, allowing you to easily organize and design your pages.
11
+
Pages are composed of various UI elements, or widgets. Widgets are added to a page when they are added to the page's **Widget Tree**.
11
12
12
-
:::info
13
-
For more details on how to use Scaffold and the various Page Elements in FlutterFlow, see the dedicated **[Page Elements](page-elements.md)** guide.
13
+
:::note[Widget Tree]
14
+
The **Widget Tree** is a structural representation of how widgets are organized within a Page. To learn more, check out the [**Widget Overview**](../widgets/intro-widgets.md#widget-tree) documentation.
14
15
:::
15
16
17
+
In FlutterFlow, pages are automatically configured to handle [routing](https://docs.flutterflow.io/resources/ui/pages/properties#route-settings). Additionally, pages can have [input parameters](https://docs.flutterflow.io/resources/ui/pages/properties#page-parameters) and [state variables](https://docs.flutterflow.io/resources/ui/pages/page-lifecycle#page-state).
16
18
19
+
:::info
20
+
For more details on how to use Scaffold and the various Page Elements in FlutterFlow, see the dedicated **[Page Elements](page-elements.md)** guide.
21
+
:::
17
22
18
23
19
24
## Creating a Page
20
25
21
-
In FlutterFlow, you can craft a page tailored to your expertise, design preferences, or specific
22
-
use case needs. Whether you're starting from scratch, using a template, or leveraging AI tools,
26
+
In FlutterFlow, you can seamlessly craft a page tailored to your needs and design preferences.
27
+
Whether you're starting from scratch, using a template, or leveraging AI tools,
23
28
there are several pathways to achieve the desired functionality and aesthetic of your desired Page.
24
29
25
-
FlutterFlow allows you to easily create new pages using the "Add Page, Component, or Flow" button, which is available from the Pages view. This will help you
26
-
quickly start and add new pages to your app.
27
-
28
30
:::tip[Generated Code]
29
31
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).
30
32
:::
31
33
34
+
FlutterFlow allows you to easily create new pages using the **Add Page, Component, or Flow** button,
35
+
which is available from the **Page Selector** tab in the **Navgation Menu**. This will help you
Copy file name to clipboardExpand all lines: docs/resources/ui/pages/pages-properties.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,12 @@ sidebar_position: 1
6
6
7
7
# Properties Panel
8
8
9
+
In FlutterFlow, the properties panel on the right helps you set up and manage your pages. It opens when you click on the root element in the [Widget Tree](../widgets/intro-widgets.md#widget-tree) (on the left).
9
10
10
-
In FlutterFlow, the properties panel located on the right side of the interface
11
-
plays a crucial role in configuring and managing the various aspects of your
12
-
pages. This panel is divided into several sections, each dedicated to different
13
-
settings and adjustments you can make to customize your pages.
11
+
The panel is organized into sections, each focusing on different settings to customize your pages.
14
12
15
13
Here’s a detailed look at what you can typically find and modify in this panel:
Copy file name to clipboardExpand all lines: docs/resources/ui/widgets/widget-properties.md
+2-9Lines changed: 2 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,16 +6,9 @@ sidebar_position: 2
6
6
7
7
# Properties Panel
8
8
9
-
In FlutterFlow, the Properties Panel located on the right side of the interface plays a crucial role
10
-
in configuring and managing the various aspects of your widgets. This panel is divided into several
11
-
sections, each dedicated to different settings and adjustments you can make to customize your
12
-
widgets.
9
+
In FlutterFlow, the Properties Panel on the right helps you configure and manage your widgets. It opens when you click on a widget or [component](../components/intro-components.md) in the [**Widget Tree**](../widgets/intro-widgets.md#widget-tree).
13
10
14
-
## Widget Properties
15
-
16
-
When you click on a widget from the Widget Tree, the **Widget Properties Panel** opens up on the
17
-
right side. There you can customize the properties for the selected widget, which may vary
18
-
based on the type of widget and also add other advanced configurations to the widget.
11
+
The panel is divided into sections, each focusing on settings specific to the selected widget. The available options may vary depending on the widget type, with additional advanced configurations available for further customization.
0 commit comments