Text( "Select Card (${(currentPage Value + 1).floor()}/${total Cards.toInt()})", style: TextStyle( fontSize: 20, color: Colors.black, fontWeight: FontWeight.normal), ), code example
Example 1: flutter font bold
Text(
'Some text',
style: TextStyle(
fontSize: 24,
fontWeight: FontWeight.bold),
)
Example 2: italic text flutter
Text(
"Welcome to the present, we're running a real nation.",
style: TextStyle(fontStyle: FontStyle.italic),
)