Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added snippet fl-screen (new screen with scaffold) #64

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

javilledo
Copy link
Contributor

Added new snippet to create a screen with a Scaffold

@@ -402,7 +402,7 @@
"void main() => runApp(const MyApp());",
"",
"class MyApp extends StatelessWidget {",
" const MyApp({super.key});",
" const MyApp({Key? key}) : super(key: key);",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why go back to the old way?

@@ -430,7 +430,7 @@
"void main() => runApp(const MyApp());",
"",
"class MyApp extends StatelessWidget {",
" const MyApp({super.key});",
" const MyApp({Key? key}) : super(key: key);",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, why ?

"",
"class ${1:Home}Screen extends StatelessWidget {",
" ",
" const ${1:Home}Screen({Key? key}) : super(key: key);",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same :)

@Nirsu
Copy link

Nirsu commented Jun 15, 2023

And don't forget to add your snippet to the README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants