Skip to content

Instantly share code, notes, and snippets.

@ljniox
Created February 28, 2025 17:51
Show Gist options
  • Select an option

  • Save ljniox/268008c6dc0d4ad82061eeacf17c450a to your computer and use it in GitHub Desktop.

Select an option

Save ljniox/268008c6dc0d4ad82061eeacf17c450a to your computer and use it in GitHub Desktop.
Generated code from pixels2flutter.dev
import 'package:flutter/material.dart';
void main() {
runApp(const ParishHubApp());
}
class ParishHubApp extends StatelessWidget {
const ParishHubApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(
useMaterial3: true,
colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
),
home: const WelcomeScreen(),
);
}
}
class WelcomeScreen extends StatelessWidget {
const WelcomeScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.black,
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Image.network(
'https://corsproxy.io/?https%3A%2F%2Foaidalleapiprodscus.blob.core.windows.net%2Fprivate%2Forg-sG4M4i2A7fuLwjlEM2JAOq4l%2Fuser-13QJI7KOePxDHDVKP4DE8nUL%2Fimg-lbgO6YWfPN5rQo9kvPi3JC5f.png%3Fst%3D2025-02-28T16%253A51%253A21Z%26se%3D2025-02-28T18%253A51%253A21Z%26sp%3Dr%26sv%3D2024-08-04%26sr%3Db%26rscd%3Dinline%26rsct%3Dimage%2Fpng%26skoid%3Dd505667d-d6c1-4a0a-bac7-5c84a87759f8%26sktid%3Da48cca56-e6da-484e-a814-9c849652bcb3%26skt%3D2025-02-27T22%253A55%253A29Z%26ske%3D2025-02-28T22%253A55%253A29Z%26sks%3Db%26skv%3D2024-08-04%26sig%3DqjYWUFZ1IF%252BweqdajKWnLM1ch97isWPpJp0ZpviGAaM%253D',
width: 100,
height: 100,
),
const SizedBox(height: 20),
const Text(
'Parish Hub',
style: TextStyle(
color: Colors.white,
fontSize: 24,
fontWeight: FontWeight.bold,
),
),
const SizedBox(height: 40),
ElevatedButton(
onPressed: () {},
style: ElevatedButton.styleFrom(
backgroundColor: Colors.blue,
padding: const EdgeInsets.symmetric(horizontal: 40, vertical: 15),
),
child: const Text(
'Explore',
style: TextStyle(
color: Colors.white,
fontSize: 18,
),
),
),
],
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment