dart-string-refactor
Extension is under development, errors may occur
it's vs code extension "dart-string-refactor". help you to extract static string in widget flutter to constant string file
How it Works
extract any string in widgets flutter to constant class AppStrings
in lib\constants\app_strings.dart
for example
Text( 'Congratulations,
style: TextStyle(
fontSize: 25,
),),
to
Text(AppStrings.congratulation,
style: TextStyle(
fontSize: 25,
),),

You can customize the file name and folder path in the extension tab on the workspace setting, or you can simply search it with the keyword Dart String Refactor

Happy Coding!