children property
Child widgets that receive forwarded messages.
Override this to declare child widgets. The framework automatically forwards messages to all children before calling handleUpdate.
Implementation
@override
List<Widget> get children {
if (visible) return [child];
if (replacement != null) return [replacement!];
return const [];
}