flutter textstyle bold code example
Example 1: flutter text style bold
Text(
'My Card Alert',
style: TextStyle(
fontWeight: FontWeight.bold
),
)
Example 2: flutter font bold
Text(
'Some text',
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.bold),
)
Example 3: italic text flutter
Text(
"Welcome to the present, we're running a real nation.",
style: TextStyle(fontStyle: FontStyle.italic),
)
Example 4: how to style text in flutter
Text(
'text'
style: TextStyle(),
),