Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions website/docs/widgets/sized_box.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# SizedBox

Mirai sizedBox allows you to build the Flutter sizedBox widget using JSON.
To know more about the sizedBox widget in Flutter, refer to the [official documentation](https://api.flutter.dev/flutter/widgets/SizedBox-class.html).

## Properties

| Property | Type | Description |
| -------- | ----------------------- | ------------------------------------ |
| width | `double?` | The width of the SizedBox |
| height | `double?` | The height of the SizedBox |
| child | `Map<String, dynamic>?` | The child widget inside the SizedBox |

## Example JSON

```json
{
"type": "sizedBox",
"height": 25
}
```