Extention you must have for flutter development
here is top extension you must need for flutter development
- awesome flutter snippets
- better comments
- JSON to dart Model
- error lens and pubspec assist
here we won;t talk about that extentionsthat we use normally like flutter and dart extensions
so Let’s go deep into flutter extensions
1. Awesome Flutter Snippets:
A collection of snippets for writing code in shorthand. For example, you can type statefulW
to generate a stateful widget template or mateapp
to generate a material app template12.
2.Better Comments
The Better Comments extension will help you create more human-friendly comments in your code.
With this extension, you will be able to categorise your annotations into:
- Alerts
- Queries
- TODOs
- Highlights
- Commented out code can also be styled to make it clear the code shouldn’t be there
3.JSON to Dart Model:
this extension makes creating dart models from json very easy
- An extension that converts JSON data to Dart model classes. It supports nested objects, arrays, and null safety. It also provides options to customize the class name, field name, and data type4.
5.Pubspec Assist and Errorlens:
i have combined both because previously i have mentioned them in my other blog for “hack to boost flutter development”
but pubspec helps to add dependencies without any hesitation for indentation
- Better Comments: An extension that helps you create more human-friendly comments in your code. It uses different colors and styles for different types of comments, such as TODOs, alerts, questions, etc2.
- Color Highlight: An extension that highlights web colors in your editor. It supports hex, rgb, rgba, hsl, hsla, and color names. It also shows a color picker when you hover over a color2.
- JSON to Dart Model: An extension that converts JSON data to Dart model classes. It supports nested objects, arrays, and null safety. It also provides options to customize the class name, field name, and data type4.