Skip to content

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.

2 participants