Can husband gift whole of his property to his wife while he has sons and daughters? If so can the wife spend or gift this property as she likes?

Yes but with conditions. One of them is acceptance of inheritors before death