Trastevere is as safe as any place in Rome- at nights it can get a little rowdy, so if you have young kids you may prefer to be back indoors by around 9pm.