shape property

OutlinedBorder? shape
final

The shape of the checkbox's Material.

如果此属性为空,则使用 ThemeData.checkboxThemeTxRadioThemeData.shape。 如果为 null,则形状将是圆角半径为 1.0 的 RoundedRectangleBorder

Implementation

final OutlinedBorder? shape;