side property
final
The color and width of the checkbox's border.
This property can be a WidgetStateBorderSide that can specify different border color and widths depending on the checkbox's state.
Resolves in the following states:
- WidgetState.pressed.
- WidgetState.selected.
- WidgetState.hovered.
- WidgetState.focused.
- WidgetState.disabled.
- WidgetState.error.
If this property is not a WidgetStateBorderSide 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 this property is null and the checkbox's value is false, then the side defaults to a one pixel wide grey-black border.
Implementation
final BorderSide? side;