Incandescent and halogen dimmers, operates by Pulse Width Modulation. Thats why fluorescent and LED lamps, flickering at a lower setting.
PWM are called rectangular pulses with varying duty, but the mains dimmers just cut out part of the sinewave. This is then called "phase cut" (it could be both leading and trailing edge, depend which part is missing at reduced setting; the leading edge are then the most common)
With CFL that is not the reason. The ballast front stage makes the constant, filtered DC voltage of anything that come to the input, so it can virtually run at any power level of that, assume the front stage can handle it.
The ballast then measure the cut out angle and from that derive the information for the ballast dimming setting. So the ballast then power the lamp at a power level corresponding to the phase angle. With decently made lamps this dependence is artificially shaped so, the relative light output for any setting matches the relative output of an incandescent lamp powered by the same dimmer setting. The reason is, the dimmers have their button angle vs phase angle curve shaped so, it gives smooth and steady dimming perception with the assumed incandescent lamp.
So as the ballast functionality is independent on the dimmer setting, so it is it's eventual flicker: There is either none (higher power levels,...) or some, on varying frequency (when the discharge becomes unstable at low setting). And if that frequency fall below 100Hz, the flicker become visible.
With the LED's it could be the same as with the CFL's (when you really want to match the dimming control curve), but as the LED dimming is usually implemented by a PWM, it will flicker. But most likely at about 150..400Hz, which is the most common frequency range for explicit PWM LED dimming.
The other group means very simple ballasts with no low frequency filtering. That mean the LED light when it get's power and does not light, it doesn't. So then the LED light really follow the dimmer output voltage, so flickers at 100 or 120Hz. But that is not the worst thing. Worse is, the LED power follow the input power, but that mean the dimming is way shallower than with incandescents, so seemingly with small range (the dimmer can not go below ~10..20% of the full power, so that becomes the minimum dimming setting)
But still even the 100/120Hz flicker is normally nor perceived as a real flicker. The problems are elsewhere:
There is yet another problem with the CFL's and LED's: They form a way lower load with way more pronounced filter components, what makes the dimmers itself to operate erratically at lower setting. And it is this erratic behavior, what makes the lamps to visibly flicker, as the frequency components fall even way below 50Hz (it's a form of a subharmonic oscillation). To cure that, usually is sufficient to connect real incandescent lamp of the same rated power as the total power rating of all the CFL/LED's on that dimmer (so one 40W incandescent mixed with 4x 9W LED/CFL's). This usually make the dimmer to operate correctly and the flicker usually disappear.