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.
如果此属性为 null,则使用 ThemeData.extension<TxRadioThemeData>()! 的
TxRadioThemeData.side。 如果它也为 null,则该边的宽度为 2。
Implementation
final BorderSide? side;