> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stac.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Table Border

> Documentation for Table Border

# Table Border

StacTableBorder allows you to define the Flutter TableBorder class using JSON.
To know more about the TableBorder class in Flutter, refer to the [official documentation](https://api.flutter.dev/flutter/rendering/TableBorder-class.html).

## Properties

| Property     | Type               | Description                                    |
| ------------ | ------------------ | ---------------------------------------------- |
| color        | `String`           | Defines the color of the table border.         |
| width        | `double`           | Defines the width of the table border.         |
| style        | `BorderStyle`      | Defines the style of the table border.         |
| borderRadius | `StacBorderRadius` | Defines the border radius of the table border. |

## Example

<CodeGroup>
  ```dart Dart theme={null}
  StacTableBorder(
    color: StacColors.black,
    width: 1.0,
    style: StacBorderStyle.solid,
    borderRadius: StacBorderRadius(
      topLeft: 16.0,
      topRight: 16.0,
      bottomLeft: 16.0,
      bottomRight: 16.0,
    ),
  )
  ```

  ```json JSON theme={null}
  {
      "tableBorder": {
          "color": "#000000",
          "width": 1.0,
          "style": "solid",
          "borderRadius": {
              "topLeft": 16.0,
              "topRight": 16.0,
              "bottomLeft": 16.0,
              "bottomRight": 16.0
          }
      }
  }
  ```
</CodeGroup>
