applyToButtonGroupData method
Combines this group data with another by multiplying corresponding corner values.
Useful for nesting button groups or applying multiple grouping effects. Each corner value is multiplied: result = this.value * other.value.
Example:
final half = ButtonGroupData.all(0.5);
final end = ButtonGroupData.horizontal(start: 0.0);
final combined = half.applyToButtonGroupData(end);
// combined has: topStart=0, bottomStart=0, topEnd=0.5, bottomEnd=0.5
Implementation
ButtonGroupData applyToButtonGroupData(ButtonGroupData other) {
return ButtonGroupData(
topStartValue: topStartValue * other.topStartValue,
topEndValue: topEndValue * other.topEndValue,
bottomStartValue: bottomStartValue * other.bottomStartValue,
bottomEndValue: bottomEndValue * other.bottomEndValue,
);
}