Constraint.isRequired
bool isRequired() nothrowChecks whether the constraint is a required relation for solving the constraint layout.
Returns
true if the constraint is required
bool isRequired() nothrowChecks whether the constraint is a required relation for solving the constraint layout.