Created
June 16, 2025 10:22
-
-
Save xiong-xin/d713a64506cf43a84bdd629bdb61181d to your computer and use it in GitHub Desktop.
Generated code from pixels2flutter.dev
This file contains hidden or 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 MaterialApp( | |
debugShowCheckedModeBanner: false, | |
theme: ThemeData( | |
useMaterial3: true, | |
), | |
home: const ContactInfoScreen(), | |
); | |
} | |
} | |
class ContactInfoScreen extends StatelessWidget { | |
const ContactInfoScreen({super.key}); | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
backgroundColor: Colors.white, | |
body: Padding( | |
padding: const EdgeInsets.all(16.0), | |
child: Column( | |
crossAxisAlignment: CrossAxisAlignment.start, | |
children: [ | |
const Text( | |
'Organised by', | |
style: TextStyle( | |
fontSize: 16, | |
color: Colors.black, | |
), | |
), | |
const SizedBox(height: 8), | |
const Text( | |
'PartyMojo Singapore', | |
style: TextStyle( | |
fontSize: 20, | |
fontWeight: FontWeight.bold, | |
color: Colors.black, | |
), | |
), | |
const SizedBox(height: 16), | |
Row( | |
children: const [ | |
Icon(Icons.person, size: 20, color: Colors.black), | |
SizedBox(width: 8), | |
Text( | |
'Thomas Wee', | |
style: TextStyle( | |
fontSize: 16, | |
color: Colors.black, | |
), | |
), | |
], | |
), | |
const SizedBox(height: 8), | |
Row( | |
children: const [ | |
Icon(Icons.phone, size: 20, color: Colors.black), | |
SizedBox(width: 8), | |
Text( | |
'+65 91234 5678', | |
style: TextStyle( | |
fontSize: 16, | |
color: Colors.blue, | |
), | |
), | |
], | |
), | |
const SizedBox(height: 8), | |
Row( | |
children: const [ | |
Icon(Icons.email, size: 20, color: Colors.black), | |
SizedBox(width: 8), | |
Text( | |
'thomas.wee@partymojo.com.sg', | |
style: TextStyle( | |
fontSize: 16, | |
color: Colors.blue, | |
), | |
), | |
], | |
), | |
], | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment