Skip to content

Instantly share code, notes, and snippets.

@aloisdeniel
Created May 17, 2023 12:42
Show Gist options
  • Save aloisdeniel/46d031c672a3217691e88d2e2d21d11a to your computer and use it in GitHub Desktop.
Save aloisdeniel/46d031c672a3217691e88d2e2d21d11a to your computer and use it in GitHub Desktop.
Flutter Text Style
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