BorderButtonsGroupBox constructor
BorderButtonsGroupBox({
- required List<
AbstractBorderButton> children,
Implementation
BorderButtonsGroupBox({required List<AbstractBorderButton> children}) {
if (children.length >= 2) {
children.first.type = BorderButtonType.First;
for (AbstractBorderButton a
in children.getRange(1, children.length - 1)) {
a.type = BorderButtonType.Central;
}
children.last.type = BorderButtonType.Last;
}
_children = children;
}