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.

Stac ClipOval allows you to build the Flutter ClipOval widget using JSON. It clips its child using an oval shape, which is useful for creating circular or oval UI elements. To know more about the ClipOval widget in Flutter, refer to the official documentation.

Properties

PropertyTypeDefaultDescription
clipBehaviorStacClipantiAliasThe clipping behavior when content extends beyond the oval.
childStacWidgetRequiredThe widget to clip with an oval shape.

Example

StacClipOval(
  clipBehavior: StacClip.antiAlias,
  child: StacImage(
    src: 'https://placehold.co/600x400',
    width: 200,
    height: 200,
    fit: StacBoxFit.cover,
  ),
)