My bearded dragon was doing fine but now she just sits there, with her front left claw folded under her leg. If I touch it she doesn't show any signs of pain and doesn't try to get away from me. She also won't eat, unless I dangle it in front of her, then she'll eat occasionally, but still not as often as I like.
That doesn't sound right =(. Can you post some photos of her and her enclosure? You can upload photos here https://www.beardeddragon.org/useruploads/ and post them to your thread using the XIMG button.
Can you provide details about the UVB light you're using and the temperatures inside the tank? Proper UVB exposure and temperature play an important role in appetite/digestion and overall health.