builder method
Implementation
Widget builder(BuildContext context, BoxConstraints constraints)
{
// Check if widget is visible before wasting resources on building it
if (((widget.model.children?.isEmpty ?? true) && widget.child == null)) return Offstage();
if (widget.model.animations != null && widget.model.animations!.isNotEmpty && widget.child != null)
{
Widget view = _buildTransitionChildren();
// Start the Controller
return view;
}
var child = widget.children.length == 1 ? widget.children[0] : Column(children: widget.children, crossAxisAlignment: CrossAxisAlignment.start);
return child;
}