SliverFillRemaining
widget using JSON.
It fills the remaining space in a CustomScrollView after all preceding slivers
have been laid out. This widget is commonly used for empty states, footers,
or centered content.
To learn more about the SliverFillRemaining widget in Flutter, refer to the
official documentation.
Properties
| Property | Type | Description |
|---|---|---|
| child | Map<String, dynamic>? | The widget to display in the remaining space. |
| hasScrollBody | bool | Whether the child has a scrollable body. Defaults to true. |
| fillOverscroll | bool | Whether the sliver should stretch to fill the overscroll area. Defaults to false. |
NoteSliverFillRemainingis typically placed at the end of aCustomScrollViewto ensure it fills the remaining viewport space correctly.