handleVisibility method
Handles convenience 'visible' property.
Implementation
@protected
Widget handleVisibility(
BuildContext context, Widget widget, WidgetNodeSpec spec) {
if (!parseBool(spec.props["visible"], defaultValue: true)) {
widget = Visibility(visible: false, child: widget);
}
return widget;
}