I need a precise triangular waveform generator which can switch from 0 to 1.2V with 1.2V power supply.
You have some problems in this case.
One is, you're not going to get a current source which has good fidelity
rail-to-rail without taking some elaborate measures, and even so you're
liable to not keep the current constant as you approach either rail. There
is always headroom needed.
Two, desiring to switch exactly at the rail means you're trying to track
a fine voltage error in an asymptotic region and your time-jitter will probably
be pretty bad.
An approach might be to (say) make a ramp w/ switched current-source
and capacitor, but put the switchpoints at VDD/4 and 3*VDD/4 (for a
VDD/2 voltage swing) and then post-amplify it at A=2, VCM=VDD/2. You
still have the issues of how close to the rails you can get without
"unacceptable" loss of fidelity, but you can probably find a "good enough"
rail-rail op amp somewhere.
But those op amps are likely to be slow and hopefully you do not need
this triangle wave to be especially fast. Otherwise slew rate distortion
may add to your problems.