Joe Burrow <3 App
Created with <3 with dartpad.dev.
Joe Burrow <3 App
Created with <3 with dartpad.dev.
import 'package:flutter/material.dart'; | |
const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
theme: ThemeData.dark().copyWith( | |
scaffoldBackgroundColor: darkBlue, | |
), | |
debugShowCheckedModeBanner: false, | |
home: Scaffold( | |
body: Center( | |
child: MyWidget(), | |
), | |
), | |
); | |
} | |
} | |
class MyWidget extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Column( | |
children: [ | |
Text('Joe Burrow ❤️', style: TextStyle(fontSize: 40.0)), | |
SizedBox(height: 25.0), | |
Expanded( | |
child: Image.network( | |
'https://upload.wikimedia.org/wikipedia/commons/thumb/3/32/SELU_LSU_9718_065.jpg/220px-SELU_LSU_9718_065.jpg', | |
fit: BoxFit.cover | |
) | |
) | |
] | |
); | |
} | |
} |