How to remove Yellow lines under Text Widgets in Flutter?

We can remove yellow lines by adding the Parent widget as "Material" or use "Scaffold"

return MaterialApp(
      home: Scaffold(
        body: Container(
          child: SingleChildScrollView(child: Text('Test')),
        ),
      ),
    );