Skip to content

Instantly share code, notes, and snippets.

@inanant
Last active March 21, 2024 10:15
Show Gist options
  • Save inanant/58a43263745085ebbe513ac6fbe56f60 to your computer and use it in GitHub Desktop.
Save inanant/58a43263745085ebbe513ac6fbe56f60 to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
import 'package:shortcuts/home.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'My App',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const HomeScreen(),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment