Skip to content

Commit d473503

Browse files
committed
Add tips to form widget docs that need widget state concepts
1 parent b02c627 commit d473503

File tree

9 files changed

+37
-2
lines changed

9 files changed

+37
-2
lines changed

docs/resources/control-flow/user-interactivity/forms/form-widgets/checkbox-group.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ The CheckboxGroup widget is used to allow a user to select multiple items. The c
1414

1515
You can use the CheckboxGroup widget for implementing multiple selections such as repeating days for alarm, languages a user can speak, and allowing users to select pizza toppings.
1616

17+
:::tip[Widget State]
18+
Before diving into form widgets, check out our guide on [Widget States](../../../../../ff-concepts/state-management/widget-state.md) to efficiently manage the state and behavior of your form elements.
19+
:::
20+
1721
## Adding CheckboxGroup
1822

1923
Here's an example of how you can use the CheckboxGroup widget in your project:

docs/resources/control-flow/user-interactivity/forms/form-widgets/dropdown.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ The DropDown widget enables users to choose from a list of options. It requires
1313

1414
You can use this widget in any situation where you want users to select from a set of options, such as selecting a country, choosing a language, or picking a color.
1515

16+
:::tip[Widget State]
17+
Before diving into form widgets, check out our guide on [Widget States](../../../../../ff-concepts/state-management/widget-state.md) to efficiently manage the state and behavior of your form elements.
18+
:::
19+
1620
## Adding DropDown widget
1721

1822
Let's see how to add a *DropDown* widget and build an example that shows the selected value on a Text widget. Here's how it looks:

docs/resources/control-flow/user-interactivity/forms/form-widgets/radiobutton.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ sidebar_position: 2
1111

1212
The RadioButton widget is used to allow a user to select one option from multiple selections.
1313

14-
You can use the RadioButton widget for implementing a single selection such as gender selection, notification preferences, etc.
14+
You can use the **RadioButton** widget for implementing a single selection such as gender selection, notification preferences, etc.
15+
16+
:::tip[Widget State]
17+
Before diving into form widgets, check out our guide on [Widget States](../../../../../ff-concepts/state-management/widget-state.md) to efficiently manage the state and behavior of your form elements.
18+
:::
1519

1620

1721
## Adding RadioButton to Your Project

docs/resources/control-flow/user-interactivity/forms/form-widgets/text-field.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ import TabItem from '@theme/TabItem';
1313

1414
The TextField widget allows users to enter text, numbers, and symbols in your app. You can use the TextField widget to build forms, send messages, dialogs, search, etc.
1515

16+
:::tip[Widget State]
17+
Before diving into form widgets, check out our guide on [Widget States](../../../../../ff-concepts/state-management/widget-state.md) to efficiently manage the state and behavior of your form elements.
18+
:::
19+
1620
## Adding TextField widget
1721

1822
Let's see how to add a TextField widget and see an example of displaying its value in an [Alert Dialog](#).

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ The ChoiceChips widget allows users to select a single option from a group of ch
1111

1212
You could use this widget to implement a filter feature in an e-commerce app to let users select different product attributes like size, color, or price range.
1313

14+
:::tip[Widget State]
15+
Before diving into form widgets, check out our guide on [Widget States](../../../../ff-concepts/state-management/widget-state.md) to efficiently manage the state and behavior of your form elements.
16+
:::
1417

1518
## Adding ChoiceChips widget
1619

docs/resources/ui/components/built-in-components/count-controller.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ The CountController widget is used to increment and decrement the count or numbe
1111

1212
You could use the CountController widget to set the quantity of any product when buying in an e-commerce app.
1313

14+
:::tip[Widget State]
15+
Before diving into form widgets, check out our guide on [Widget States](../../../../ff-concepts/state-management/widget-state.md) to efficiently manage the state and behavior of your form elements.
16+
:::
17+
1418
## Adding CountController to your project
1519

1620
Here's an example of how you can use a CountController widget in your project:

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ description: Learn how to add CreditCardForm in your FlutterFlow app.
77
# CreditCardForm
88
The CreditCardForm widget allows users to enter their credit card details such as card number, expiry date, and CVV.
99

10+
:::tip[Widget State]
11+
Before diving into form widgets, check out our guide on [Widget States](../../../../ff-concepts/state-management/widget-state.md) to efficiently manage the state and behavior of your form elements.
12+
:::
13+
1014
## Adding CreditCardForm widget
1115

1216
Here's an example of how you can add the CreditCardForm widget to your project:

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ description: Learn how to add the PinCode widget in your FlutterFlow app.
99

1010
The PinCode widget allows you to enter the PIN or OTP. You could use this widget to verify the user identity or a transaction before making payments in fintech apps.
1111

12+
:::tip[Widget State]
13+
Before diving into form widgets, check out our guide on [Widget States](../../../../ff-concepts/state-management/widget-state.md) to efficiently manage the state and behavior of your form elements.
14+
:::
15+
1216
## Adding PinCode widget
1317

1418
To add a PinCode widget:

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ description: Learn how to add Slider in your FlutterFlow app.
1111

1212
The Slider widget is used to select a single value from a range of values. You define the min and max value for the slider, and users can choose the value between the specified range by dragging the slider thumb (sliding circle).
1313

14-
For example, you can use the Slider widget to allow users to set the volume, set the donation amount, etc.
14+
For example, you can use the **Slider** widget to allow users to set the volume, set the donation amount, etc.
15+
16+
:::tip[Widget State]
17+
Before diving into form widgets, check out our guide on [Widget States](../../../../ff-concepts/state-management/widget-state.md) to efficiently manage the state and behavior of your form elements.
18+
:::
1519

1620
## Adding Slider
1721

0 commit comments

Comments
 (0)