Border Side
StacBorderSide allows you to define the Flutter BorderSide class using JSON. To know more about the BorderSide class in Flutter, refer to the official documentation. :::info BorderSide is used with the new individual border sides feature in StacBorder. You can now specify different border sides for top, right, bottom, and left individually. :::Properties
| Property | Type | Description |
|---|---|---|
| color | Color? | Defines color of the border. |
| width | double? | Defines thickness of the border. (logical px). |
| style | BorderStyle? | Defines the style of the border. Can be solid or none. Defaults to solid. |
| strokeAlign | double? | Defines the relative position of the stroke on values range from -1.0 (inside) to 1.0 (outside). |
Example
See Also
- Border - Learn about using individual border sides in StacBorder