Skip to content

Instantly share code, notes, and snippets.

@rayliverified
Created November 16, 2024 11:47
Show Gist options
  • Save rayliverified/d8ff6a5d89ce53ab8fbefa3981663779 to your computer and use it in GitHub Desktop.
Save rayliverified/d8ff6a5d89ce53ab8fbefa3981663779 to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
title: 'MyApp Demo',
debugShowCheckedModeBanner: false,
home: Scaffold(
body: Center(
child: Pi10e10nBlog(),
),
),
);
}
}
class Pi10e10nBlog extends StatelessWidget {
const Pi10e10nBlog({super.key});
@override
Widget build(BuildContext context) {
return Text(
'Pi10e10n\nBlog',
style: GoogleFonts.getFont(
'Albert Sans',
color: const Color(0xFF0072FF),
fontSize: 10,
fontWeight: FontWeight.w900,
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment