Skip to main content

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.

The Stac SliverSafeArea allows you to build a Flutter sliver safe area widget using JSON.
To know more about the safe area widget in Flutter, refer to
the official documentation.

Properties

PropertyTypeDescription
leftbool?Whether to avoid intrusions on the left. Defaults to true.
topbool?Whether to avoid intrusions at the top. Defaults to true.
rightbool?Whether to avoid intrusions on the right. Defaults to true.
bottombool?Whether to avoid intrusions at the bottom. Defaults to true.
minimumMap<String, dynamic>?Minimum padding to apply as edge insets.
sliverMap<String, dynamic>The sliver widget below this widget in the tree. (Required)

Example

StacSliverSafeArea(
  top: true,
  sliver: StacSliverToBoxAdapter(
    child: StacText(data: 'Hello World'),
  ),
)