text style font weight flutter code example
Example 1: italic text flutter
Text(
"Welcome to the present, we're running a real nation.",
style: TextStyle(fontStyle: FontStyle.italic),
)
Example 2: how to style text in flutter
Text(
'text'
style: TextStyle(),
),