getColumnContainer method
Implementation
Widget getColumnContainer() {
return Container(
padding: isMore
? const EdgeInsets.all(0)
: (selectable
? EdgeInsets.only(
left: TodaySpacing.tdsSpace3.spacing,
)
: EdgeInsets.symmetric(
horizontal: TodaySpacing.tdsSpace4.spacing,
)),
width: isMore ? 48 : width,
child: selectable
? TodayCheckbox(
key: UniqueKey(),
value: selected ? TodayCheckboxValue.checked : selectableValue,
onChanged: (TodayCheckboxValue value) {
if (onChanged != null) {
onChanged!(value);
}
},
)
: (showcase != null
? showcase!
: TodayText(
label,
style: TodayTextStyle.tdsFontSmallPlus,
rawColor: TodayColor.labelSecondary.color,
textAlign: align,
)),
);
}