flutter textstyle code example
Example 1: flutter font bold
Text(
'Some text',
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.bold),
)
Example 2: how to style text in flutter
Text(
'text'
style: TextStyle(),
),
Text(
'Some text',
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.bold),
)
Text(
'text'
style: TextStyle(),
),