side property Null safety

BorderSide? side
final

The color and width of the checkbox's border.

This property can be a MaterialStateBorderSide that can specify different border color and widths depending on the checkbox's state.

Resolves in the following states:

If this property is not a MaterialStateBorderSide and it is non-null, then it is only rendered when the checkbox's value is false. The difference in interpretation is for backwards compatibility.

If specified, overrides the default value of Checkbox.side.

Implementation

final BorderSide? side;