Created
May 17, 2023 12:42
-
-
Save aloisdeniel/46d031c672a3217691e88d2e2d21d11a to your computer and use it in GitHub Desktop.
Flutter Text Style
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return const MaterialApp( | |
debugShowCheckedModeBanner: false, | |
home: Scaffold( | |
body: Center( | |
child: Text( | |
'Hello, World!', | |
style: TextStyle( | |
fontSize: 32, | |
fontWeight: FontWeight.w700, | |
letterSpacing: -0.9, | |
), | |
), | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment