Nope, you're probably thinking of the F-22. The F-35 got it back down to reasonable hanger time and care, at the cost of a long, multi-trillion dollar development period.
Per the other commenter the Gripen is a bit cheaper yet, but that's because it's built like a car from the 70's or something. All off-the-shelf parts combined in obvious ways with lots of allowances. The cost of that is it shows up to radar like a 70's car. It's basically just a very different aircraft for doing different things.