side property
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, then CheckboxThemeData.side of ThemeData.checkboxTheme is used. If that is also null, then the side will be width 2.
Implementation
final BorderSide? side;