Skip to content

Commit 405a26f

Browse files
authored
Merge branch 'main' into feature/semantic-focus-config
2 parents dc75435 + 928a84f commit 405a26f

File tree

11 files changed

+17
-48
lines changed

11 files changed

+17
-48
lines changed

docs/ff-integrations/authentication/firebase-auth/google-login.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ To let users log out of your app, you can use the [**Logout**](auth-actions.md#l
126126
your [Project Credentials](https://console.cloud.google.com/apis/credentials?project=_) page.
127127

128128
2. Ensure you are on the correct project. In our case, we are using the
129-
[EcommerceFlow demo project](https://bit.ly/ff-docs-demo-v1), it will be different for you.
129+
[EcommerceFlow demo project](https://bit.ly/ff-docs-demo-v2), it will be different for you.
130130

131131
![credential-page.png](../imgs/credential-page.png)
132132

docs/ff-integrations/maps/google-maps/generate-maps-keys.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,7 @@ com/embed/2c644aa950c44f76b19c6787784cf3b5?sid=3e22206e-4b4b-4734-b842-0c644d32f
6969

7070
## Add Places APIs
7171

72-
To enable **Places API** in your project, please follow the steps under
73-
["Add Maps API" section](#add-maps-apis) and additionally also enable Places API from the API
74-
library if not
75-
already enabled.
72+
You can [enable the **Places API**](https://console.cloud.google.com/apis/library/places-backend.googleapis.com) from your Google Cloud Console — make sure you are in the correct Google Cloud project. **Please note** that the current [PlacePicker widget](../../maps/google-maps/place-picker-widget.md) uses the legacy Places API. We plan to update the PlacePicker widget soon to support the new API. In the meantime, ensure that the legacy Places API is enabled for full functionality.
7673

7774
![places-api.png](imgs/places-api.png)
7875

docs/ff-integrations/maps/google-maps/place-picker-widget.md

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Here's an example from the Demo app:
4747

4848
:::info[Prerequisites]
4949
- The Place Picker **requires a Google Maps API key**. See how to [**create and add API keys**](generate-maps-keys.md#add-maps-apis) to FlutterFlow.
50-
- Ensure you have enabled **Places API** from Cloud console. [**Check out the Setup docs.**](generate-maps-keys.md#add-places-apis)
50+
- Ensure you have enabled the [**Places API**](generate-maps-keys.md#add-places-apis) from Cloud console.
5151
- Enable **Google Maps Platform Billing** via your Cloud console. Please note: Failing to enable the Google Maps Platform Billing will not show any place in an autocomplete list.
5252
:::
5353
<figure>
@@ -98,9 +98,9 @@ If you retain the Text widget, the text will update to the name of the selected
9898
<figcaption class="centered-caption">The widget properties of Place Picker widget</figcaption>
9999
</figure>
100100

101-
## Use PlacePicker widget state values
101+
## Use PlacePicker Values
102102

103-
The values associated with the selected place are stored in a `GooglePlace` custom data type exposed by FlutterFlow. It holds fields such as the selected place's Name, Address, LatLng, City, State, Country, and Zipcode. Users can use these values in any widget, either to directly set them in a Text widget or for further conditional calculations.
103+
The selected place’s details are stored in a `GooglePlace` custom data type provided by FlutterFlow. You can access this via **Widget State > placePickerValue**, which includes fields like name, address, latitude/longitude (LatLng), city, state, country, and ZIP code. These values can be used to display content in Text widgets or perform conditional logic based on the selected location.
104104

105105
<div style={{
106106
position: 'relative',
@@ -109,7 +109,7 @@ The values associated with the selected place are stored in a `GooglePlace` cust
109109
width: '100%'
110110
}}>
111111
<iframe
112-
src="https://demo.arcade.software/uWaLSOHPZctjnGik03Pu?embed&show_copy_link=true"
112+
src="https://demo.arcade.software/oje0Gsbf9IJh7M0pb6Tv?embed&show_copy_link=true"
113113
title="Use PlacePicker widget state"
114114
style={{
115115
position: 'absolute',
@@ -128,32 +128,4 @@ The values associated with the selected place are stored in a `GooglePlace` cust
128128
</iframe>
129129
</div>
130130

131-
<p></p>
132-
Let's test this change in Test Mode:
133-
134-
<div style={{
135-
position: 'relative',
136-
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
137-
height: 0,
138-
width: '100%'
139-
}}>
140-
<iframe
141-
src="https://demo.arcade.software/2ncapOklwNGM3ETCntdl?embed&show_copy_link=true"
142-
title="Place Picker Test"
143-
style={{
144-
position: 'absolute',
145-
top: 0,
146-
left: 0,
147-
width: '100%',
148-
height: '100%',
149-
colorScheme: 'light'
150-
}}
151-
frameborder="0"
152-
loading="lazy"
153-
webkitAllowFullScreen
154-
mozAllowFullScreen
155-
allowFullScreen
156-
allow="clipboard-write">
157-
</iframe>
158-
</div>
159-
131+
<p></p>

docs/generated-code/component-gen-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sidebar_position: 5
99
Similar to a [**Page**](pages-generated-code.md), when creating a **[component](../resources/ui/components/intro-components.md)** in FlutterFlow, it automatically generates two files: a `Widget` class and a `Model` class.
1010

1111
:::info[Prerequisites]
12-
This guide uses examples from the generated code of the **[EcommerceFlow demo app](https://bit.ly/ff-docs-demo-v1)**. To view the generated code directly, check out the **[Github repository](https://github.com/FlutterFlow/sample-apps/tree/main/ecommerce_flow)**.
12+
This guide uses examples from the generated code of the **[EcommerceFlow demo app](https://bit.ly/ff-docs-demo-v2)**. To view the generated code directly, check out the **[Github repository](https://github.com/FlutterFlow/sample-apps/tree/main/ecommerce_flow)**.
1313
:::
1414

1515
## ComponentModel class

docs/generated-code/custom-data-type-gen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar_position: 2
77
# DataTypeStruct class
88

99
:::info[Prerequisites]
10-
This guide uses example of the generated code of the **[EcommerceFlow demo app](https://bit.ly/ff-docs-demo-v1)**. To view the generated code directly, check out the **[Github repository](https://github.com/FlutterFlow/sample-apps/tree/main/ecommerce_flow)**.
10+
This guide uses example of the generated code of the **[EcommerceFlow demo app](https://bit.ly/ff-docs-demo-v2)**. To view the generated code directly, check out the **[Github repository](https://github.com/FlutterFlow/sample-apps/tree/main/ecommerce_flow)**.
1111
:::
1212

1313

docs/generated-code/directory-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar_position: 1
77
# Directory Structure
88

99
:::info[Prerequisites]
10-
This guide uses example of the generated code of the **[EcommerceFlow demo app](https://bit.ly/ff-docs-demo-v1)**. To view the generated code directly, check out the **[Github repository](https://github.com/FlutterFlow/sample-apps/tree/main/ecommerce_flow)**.
10+
This guide uses example of the generated code of the **[EcommerceFlow demo app](https://bit.ly/ff-docs-demo-v2)**. To view the generated code directly, check out the **[Github repository](https://github.com/FlutterFlow/sample-apps/tree/main/ecommerce_flow)**.
1111
:::
1212

1313
When you download the code generated by FlutterFlow, you'll notice many additional files and folders beyond what you see in FlutterFlow's Code Viewer. These files make up the complete project structure, organized according to a specific architecture. Understanding this structure is like having a detailed map, guiding you through the code and making it easier to navigate and customize your FlutterFlow project later. So, let's dive in and explore this directory structure.

docs/generated-code/ff-app-state.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ sidebar_position: 4
66
# FFAppState
77

88
:::info[Prerequisites]
9-
This guide uses example of the generated code of the **[EcommerceFlow demo app](https://bit.ly/ff-docs-demo-v1)**. To view the generated code directly, check out the **[Github repository](https://github.com/FlutterFlow/sample-apps/tree/main/ecommerce_flow)**.
9+
This guide uses example of the generated code of the **[EcommerceFlow demo app](https://bit.ly/ff-docs-demo-v2)**. To view the generated code directly, check out the **[Github repository](https://github.com/FlutterFlow/sample-apps/tree/main/ecommerce_flow)**.
1010
:::
1111

1212
The `FFAppState` class in FlutterFlow acts as a central hub for managing the application's global state. It's designed as a singleton, meaning there's only one instance of this class throughout the app's lifecycle. This class extends [**ChangeNotifier**](https://api.flutter.dev/flutter/foundation/ChangeNotifier-class.html), allowing widgets to listen and react to state changes.
1313

1414
It includes methods for initializing and updating the app's persisted state and also defines various state variables with corresponding **getters and setters** for manipulating these values.
1515

16-
Here is a basic template of the class, taken from the [**eCommerceFlow demo app**](https://bit.ly/ff-docs-demo-v1)'s generated code:
16+
Here is a basic template of the class, taken from the [**eCommerceFlow demo app**](https://bit.ly/ff-docs-demo-v2)'s generated code:
1717

1818
```js
1919
class FFAppState extends ChangeNotifier {

docs/generated-code/pages-generated-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sidebar_position: 5
99
When you create a new Page in FlutterFlow, it automatically generates two files: a `Widget` class and a `Model` class. So if the name of the page you created is called **ProductListPage**, FlutterFlow generation backend will automatically create **ProductListPageWidget** class and **ProductListPageModel** class.
1010

1111
:::info[Prerequisites]
12-
This guide uses examples from the generated code of the **[EcommerceFlow demo app](https://bit.ly/ff-docs-demo-v1)**. To view the generated code directly, check out the **[Github repository](https://github.com/FlutterFlow/sample-apps/tree/main/ecommerce_flow)**.
12+
This guide uses examples from the generated code of the **[EcommerceFlow demo app](https://bit.ly/ff-docs-demo-v2)**. To view the generated code directly, check out the **[Github repository](https://github.com/FlutterFlow/sample-apps/tree/main/ecommerce_flow)**.
1313
:::
1414

1515
## PageModel class

docs/resources/control-flow/functions/utility-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ FlutterFlow has the following built-in functions:
3030
## Combine Text
3131

3232
Oftentimes, you will encounter scenarios where you need to show two variables in a single String or
33-
Text widget. For example, in our [Ecommerce Demo](https://bit.ly/ff-docs-demo-v1) app, we have a price object in the following
33+
Text widget. For example, in our [Ecommerce Demo](https://bit.ly/ff-docs-demo-v2) app, we have a price object in the following
3434
format:
3535

3636
```json

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ some common use-cases.
6767
- Design sections of a screen that are frequently repeated, such as testimonials, image galleries,
6868
or feature highlights, and reuse them to maintain a cohesive layout.
6969

70-
Here's an example of all the widely used components used in the [EcommerceFlow demo](https://bit.ly/ff-docs-demo-v1) app.
70+
Here's an example of all the widely used components used in the [EcommerceFlow demo](https://bit.ly/ff-docs-demo-v2) app.
7171

7272

7373
<figure>

0 commit comments

Comments
 (0)