You asked
Which of these two lenses is better for dim indoor portraits and moving kids?
The guide can't say which of your two lenses is better, because neither is named here and there's no lens-by-lens comparison to draw on. What it can tell you is what to look for, and for dim indoor portraits and moving kids, speed and light matter more than anything else.
A fixed-focal-length prime is much faster than a kit zoom, and the Lenses page notes that a 50mm f/1.8 gathers far more light than any kit zoom, at a low price. A wide maximum aperture lets you use a faster shutter, which freezes kids moving indoors. Sensor sizes adds that a bigger sensor gives cleaner images at high ISO at the same framing and f-number. Stabilisation steadies the camera, not the child, so it helps less here.
For portraits, the lens matters more than the body. The Portraits page warns that at f/1.4 and wider, depth of field can be thinner than a face. With moving kids, the eyes can slip out of focus, so stopping down to f/2.8 is often the safer choice.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.