Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions docs/controls/bottomsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ ft.app(target=main)

## Properties

### `bgcolor`

The BottomSheet's background [color](/docs/guides/python/colors).

### `content`

The content of the bottom sheet.
Expand All @@ -65,6 +69,10 @@ Specifies whether the bottom sheet will be dismissed when user taps on the scrim

Specifies whether the bottom sheet can be dragged up and down and dismissed by swiping downwards.

### `elevation`

Controls the size of the shadow below the BottomSheet. Default value is `0.0`.

### `is_scroll_controlled`

Specifies if the bottom sheet contains scrollable content, such as ListView or GridView. Default is `False`.
Expand Down
16 changes: 16 additions & 0 deletions docs/controls/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,22 @@ See [`Container.margin`](container#margin) property for more information and pos

The [color](/docs/guides/python/colors) to paint the shadow below the card.

### `shape`

The shape of the card.

The value is an instance of one of the following implementations:
* `StadiumBorder`
* `RoundedRectangleBorder`
* `radius` - border radius, an instance of `BorderRadius` class or a number.
* `CircleBorder`
* `BeveledRectangleBorder`
* `radius` - border radius, an instance of `BorderRadius` class or a number.
* `ContinuousRectangleBorder`
* `radius` - border radius, an instance of `BorderRadius` class or a number.

The default shape is a `RoundedRectangleBorder` with `radius=4.0`.

### `surface_tint_color`

The [color](/docs/guides/python/colors) used as an overlay on `color` to indicate elevation.
Expand Down
24 changes: 24 additions & 0 deletions docs/controls/navigationrail.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ If the rail is going to be in the extended state, then the `label_type` must be

The default value is `False`.

### `elevation`

Controls the size of the shadow below the NavigationRail. Default value is `0.0`.

### `group_alignment`

The vertical alignment for the group of destinations within the rail.
Expand All @@ -101,6 +105,26 @@ If `group_alignment` is `-1.0`, then the items are aligned to the top. If `group

The default is `-1.0`.

### `indicator_color`

The [color](/docs/guides/python/colors) of the navigation rail's indicator.

### `indicator_shape`

The shape of the navigation rail's indicator.

The value is an instance of one of the following implementations:
* `StadiumBorder`
* `RoundedRectangleBorder`
* `radius` - border radius, an instance of `BorderRadius` class or a number.
* `CircleBorder`
* `BeveledRectangleBorder`
* `radius` - border radius, an instance of `BorderRadius` class or a number.
* `ContinuousRectangleBorder`
* `radius` - border radius, an instance of `BorderRadius` class or a number.

The default shape is a `StadiumBorder`.

### `label_type`

Defines the layout and behavior of the labels for the default, unextended NavigationRail.
Expand Down