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

update snippets to flutter 3 #58

Closed
ghost opened this issue Jun 17, 2022 · 2 comments
Closed

update snippets to flutter 3 #58

ghost opened this issue Jun 17, 2022 · 2 comments
Assignees

Comments

@ghost
Copy link

ghost commented Jun 17, 2022

currently the snippets don't seem to leverage flutter 3 features

e.g.:statelessW

  • expected result
class name extends StatelessWidget {
  const name({super.key});

  @override
  Widget build(BuildContext context) {
    return Container();
  }
}
  • actual result
class name extends StatelessWidget {
  const name({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container();
  }
}
@Nash0x7E2 Nash0x7E2 self-assigned this Jul 6, 2022
@deandreamatias
Copy link

Implement compatibility with different major Flutter versions will be nice (related with #41) . Maybe a property config

@Nash0x7E2
Copy link
Owner

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

No branches or pull requests

2 participants