Convert color code to proper syntax based on different languages.
For colorcode will only transform when it's in format. Currently will only transform in dart
language.
#ffffff
#000
#fff_10
#ffffff_10
In dart
will be able to transform into ARGB or RGBO syntax.
#ffffff => Colors.fromRGBO(255, 255, 255, 1)
#ffffff => Colors.fromARGB(255, 255, 255, 255)
At least version 1.32.0
or latest
version of vscode.
This extension contributes the following settings:
autocolor.enable
: enable/disable this extension
Initial release of autocolor. Currently will only support HEX to RGBO and ARGB in Dart
.
[FIX] (DART) Typo Colors.RGB0
instead of Color.fromRGBO