Skip to content

Commit 385bb1f

Browse files
committed
tag correction
1 parent 8807c76 commit 385bb1f

File tree

5 files changed

+76
-84
lines changed

5 files changed

+76
-84
lines changed

docs/resources/ui/components/built-in-components/barcode.md

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tags: [Base Elements]
66

77
# Barcode
88

9-
The Barcode widget is used to embed the information inside the series of lines and patterns. The data inside the barcode can be easily retried with a scanner machine, an app like [Google Lens](https://lens.google/) (Android), [Apple Camera](https://support.apple.com/en-in/HT208843) (iOS), or your [own app](#) created using FlutterFlow.
9+
The Barcode widget is used to embed the information inside the series of lines and patterns. The data inside the barcode can be easily retried with a scanner machine, an app like [Google Lens](https://lens.google/) (Android), [Apple Camera](https://support.apple.com/en-in/HT208843) (iOS), or your [own app](#scan-barcode--qr-code-action) created using FlutterFlow.
1010

1111

1212
It is typically used to retrieve product information quickly and accurately. For example, you could track the inventory/books (e.g., price, description, location, etc.), share website/app URL, quick onboarding process, and so on.
@@ -127,3 +127,72 @@ You can also display the actual data below the barcode by enabling the **Show Te
127127
This option is only available when using the *1D Barcode*.
128128
:::
129129

130+
131+
## Scan Barcode / QR code [Action]
132+
133+
Using this Action, you open a barcode or QR code interface and scan a code using the device camera.
134+
135+
<div style={{
136+
position: 'relative',
137+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
138+
height: 0,
139+
width: '100%'}}>
140+
<iframe
141+
src="https://demo.arcade.software/tI9UOnpYhVyOrvxhmAuo?embed&show_copy_link=true"
142+
title=""
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+
<p></p>
160+
161+
Follow the steps below to define a Scan Action to any widget.
162+
163+
1. Select **Actions** from the Properties panel (the right menu)
164+
2. Click **+ Add Action** button
165+
3. Choose a gesture from the dropdown among ***On Tap**, **On Double Tap**, or* **On Long Press**
166+
4. Select the **Action Type** as ***Scan Barcode/QR code**.*
167+
5. If you check the **Barcode Mode** checkbox then the UI will look like a barcode scanner. Otherwise, the UI will be like a QR code scanner.
168+
6. **Cancel button text** would be ***Cancel*** by default, but you can specify any other text if you want.
169+
7. In the **Output Variable Name** field, you can specify the name of the variable where the scanned text would be saved and then you can access it via the **Set from Variable menu > Action Outputs > [Action Output Variable Name]**.
170+
171+
<div style={{
172+
position: 'relative',
173+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
174+
height: 0,
175+
width: '100%'}}>
176+
<iframe
177+
src="https://demo.arcade.software/Uk6JLbnrMDFFAACn5No6?embed&show_copy_link=true"
178+
title=""
179+
style={{
180+
position: 'absolute',
181+
top: 0,
182+
left: 0,
183+
width: '100%',
184+
height: '100%',
185+
colorScheme: 'light'
186+
}}
187+
frameborder="0"
188+
loading="lazy"
189+
webkitAllowFullScreen
190+
mozAllowFullScreen
191+
allowFullScreen
192+
allow="clipboard-write">
193+
</iframe>
194+
</div>
195+
<p></p>
196+
197+
198+

docs/resources/ui/components/built-in-components/color-picker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
slug: color-picker
33
title: Color Picker
4-
tags: [Layout Elements, Components]
5-
keywords: [Color Picker, Layout Element, Component, Action]
4+
tags: [Actions, Components]
5+
keywords: [Color Picker, Component, Action]
66
description: Learn how to add Color Picker in your FlutterFlow app.
77
---
88
import Tabs from '@theme/Tabs';

docs/resources/ui/components/built-in-components/datetime-picker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
slug: datetime-picker
33
title: DateTime Picker
4-
tags: [Layout Elements, Components]
5-
keywords: [DateTime Picker, Layout Element, Component, Action]
4+
tags: [Actions, Components]
5+
keywords: [DateTime Picker, Component, Action]
66
description: Learn how to add DateTime Picker in your FlutterFlow app.
77
---
88
# DateTime Picker

docs/resources/ui/components/built-in-components/scan-barcode.md

Lines changed: 0 additions & 77 deletions
This file was deleted.

docs/resources/ui/components/built-in-components/signature.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
slug: signature
33
title: Signature
4-
tags: [Layout Elements, Components]
5-
keywords: [Signature, Layout Element, Component, Widget]
4+
tags: [Form Elements, Components]
5+
keywords: [Signature, Form Element, Component, Widget]
66
description: Learn how to add Signature widget in your FlutterFlow app.
77
---
88

0 commit comments

Comments
 (0)