Created
November 13, 2024 17:31
-
-
Save rayliverified/8e78de64cba7c5374447e09e7e2974ab to your computer and use it in GitHub Desktop.
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(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: Logo32(), | |
), | |
), | |
); | |
} | |
} | |
class Logo32 extends StatelessWidget { | |
const Logo32({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return Image.network( | |
'https://firebasestorage.googleapis.com/v0/b/codeless-app.appspot.com/o/RsIUXVmumvdJAn5WUXGnYFwKytw2%2Fuploads%2Fimages%2Fchess.jpg?alt=media&token=20afccf9-e0ab-470b-9e8f-1dbcaefd383e', | |
width: 178, | |
height: 58, | |
fit: BoxFit.cover, | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment