Divider (Horizontal)

The Divider (Horizontal) widget is a horizontal line that is used to visually separate widgets. For example, you could use it when displaying a list of products and messages and separating a header section from the content section of a page, etc.

Adding Divider (Horizontal) widget

Here's how you add the Divider widget to your project:

  1. Select the Divider (Horizontal) widget from the Add Widget Button or add it directly from the widget tree.

  2. Now, you customize the widget as you want.

Customizing the Divider

Line Style

You can choose from various options such as Solid, Dotted, Dashed, Dash-Dotted.

Color

This is the color which is used to paint the divider. You can customize it however you want.

Thickness

This changes the actual height of the line. By default, the thickness is set to 0.0.

Height

This adjusts the space that the Divider takes up. By default, the height is set to 16.0 logical pixels.

Indent

This is the amount of empty space to the leading edge of the divider. By default, it is set to 0.0.

End Indent

This is theamount of empty space to the trailing edge of the divider. By default, it is set to 0.0.

Default Properties

You can customize the appearance and behavior of this widget using the various properties available under the Widget Default Properties.

Last updated