Calculates the maximum width required to fit all children.
@override int fitWidth() { int width = 0; for (final child in childrenInstance) { width = max(child.fitWidth(), width); } return width; }