I have the following widget that I use to print text:
class NormalText extends StatelessWidget {
final String txt;
NormalText(this.txt) {}
@override
Widget build(BuildContext context) {
return Container(
child: Text(txt,
style: TextStyle(
color: Colors.grey,
fontSize: 20,
fontWeight: FontWeight.bold)));
}
}
But if I use it like:
NormalText('hello\tworld\t42')
The \t indentation is too tiny. Is there any way to increase the indentation to take more space ?