Skip to main content

variant

Type​

property

Summary​

The variant to use.

Syntax​

set the variant of widget to {"circular" | "rounded" | "square"}
get the variant of widget

Description​

Use the variant property to define the visual appearance of the widget.

Examples​

set the variant of widget "Circle Avatar" to "rounded"

Compatibility and Support​

OS

mac

windows

linux

ios

android

web

Platforms

desktop

mobile

web