style:TextStyle(fontSize: 20.0) code example
Example 1: flutter font bold
Text(
'Some text',
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.bold),
)
Example 2: increase text size of Test flutter
child: Text(
'Hello World! This is a text widget.',
style: TextStyle(fontSize: 25),
)