Skip to main content
The Stac NetworkWidget allows you to build a widget that makes a network request and renders a widget based on the response using JSON.

Properties

PropertyTypeDescription
requestStacNetworkRequestThe network request configuration.

Example

StacNetworkWidget(
  request: StacNetworkRequest(
    url: 'https://api.example.com/data',
    method: Method.get,
    headers: {'Authorization': 'Bearer token'},
  ),
)