Widget changeVisibility({required bool isVisible}) { if (isVisible) { return this; } else { return Container(); } }