Widget expandManager({required Style style, required Widget widget}) { if (style.isExpanded == true) return expanded(widget); return widget; }