Skip to content

Commit cb4b1eb

Browse files
committed
Added admonitions and removed text steps
1 parent b10934b commit cb4b1eb

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

docs/intro/quickstart.md

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -45,28 +45,18 @@ In this section, we'll see how to build the user interface (UI) for this feature
4545

4646
To build the UI:
4747

48-
1. We'll begin by adding a [Container](#) widget. This will serve as the parent widget for our buttons and labels.
49-
2. Within the Container, add the [Row](#) > [Text](#) widget to display the ‘Quantity’ label. The Row widget is used to arrange its children (in this case, the Text widget) in a horizontal row.
50-
3. Next, add another Row widget containing two [IconButtons](#). Users will interact with these to increase or decrease the product quantity. Also, include a Text widget to display the updated quantity.
51-
1. Adjust the padding of the widgets to create a spacious and balanced layout.
52-
2. Change the icon of the decrease button to a minus symbol.
53-
54-
> You can learn more about creating layouts [here](#).
55-
56-
5748
<iframe src="https://demo.arcade.software/5CNFKTzhvnHPrLyZNzgZ?embed&show_copy_link=true" title="Update product quantity" frameborder="0" loading="lazy" webkitallowfullscreen mozallowfullscreen allowfullscreen allow="clipboard-write" width="100%" height="500"></iframe>
5849

50+
:::info
51+
You can learn more about creating layouts [here](#).
52+
:::
53+
5954
## 3. Customize Style {#customize-style}
6055

6156
The next step is to customize the style of UI elements. This includes changing the colors, fonts, and sizes of your buttons and labels. In FlutterFlow, you can do this via the [properties panel](#) which provides a range of options for customization.
6257

6358
To customize the style:
6459

65-
1. Adjust the height and color of the Container, and add a border radius.
66-
2. Change the font weight, size of the quantity label and its value.
67-
3. Change the color of the increase and decrease buttons to match your design.
68-
69-
7060
<iframe src="https://demo.arcade.software/MGpg8TSzMGBusCGyOk89?embed&show_copy_link=true" title="Update product quantity" frameborder="0" loading="lazy" webkitallowfullscreen mozallowfullscreen allowfullscreen allow="clipboard-write" width="100%" height="600"></iframe>
7161

7262
## 4. Add State {#add-state}
@@ -77,11 +67,6 @@ We can achieve this behavior by adding state variables. A state variable stores
7767

7868
Here's how to add and use state variables:
7969

80-
1. Add a page state variable named ‘productQuantity’ with the *Type* set to Integer and an *Initial Field Value* of 1.
81-
2. Bind this newly created variable to the Text widget that displays the current product quantity.
82-
3. When buttons are tapped, add actions to [update the value of the page state variable](#).
83-
84-
8570
<iframe src="https://demo.arcade.software/UI92tJF6DX0lOVuidaSH?embed&show_copy_link=true" title="Update product quantity" frameborder="0" loading="lazy" webkitallowfullscreen mozallowfullscreen allowfullscreen allow="clipboard-write" width="100%" height="600"></iframe>
8671

8772
## 5. Run the App {#run-app}

0 commit comments

Comments
 (0)