conditional method
Implementation
Widget conditional(bool condition, XWidgetBuilder ifTrue) {
if (condition) {
return ifTrue(this);
}
return this;
}
Widget conditional(bool condition, XWidgetBuilder ifTrue) {
if (condition) {
return ifTrue(this);
}
return this;
}