My dad worked out there for 10yrs in the 90's. 2 of my siblings went to the British International school there, and loved it.
I visited him out there -my dad was very happy working there, and the Indonesian people are IMO amongst the loveliest in the world. It is an amazing place, but obviously a massive culture shock, if you've only been in Europe. There is masses of poverty out there, that your dc will see, but from behind a screen of privilege iyswim.
PP is right, you will need a car with a driver - my dad sometimes drove us, and we were always, always stopped by the police, where he's have to give them a backhander. You will see people begging everywhere, and you will be harassed by street sales people everywhere, because you are white/western.
They had a house with a pool out there at first, then moved to an apartment with gym/pool etc. Both were lovely, and I always felt very safe out there. The crime experienced by expats seemed to be limited to pick-pocketing/bag slashing when I was there - but I'm well aware that Indonesia has changed politically since the 90s - so do your research carefully.
The expat community was strong when I visited, and the standard of living very good. My stepmum wasn't as happy out there as my dad - she was homesick and at a loose end while my dad worked long, long hours. However, I would say my sibling's lives (they were about 10 and 8 then) were enriched by the experience.
If you embrace new cultures, and are prepared to be fairly enclosed in an expat bubble of drivers, maids, International schools, expat get-togethers etc, then you should go for it. I'm glad I had the opportunity to visit there.