Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>flutter-strings-extractNew to Visual Studio Code? Get it now.
flutter-strings-extract

flutter-strings-extract

Mohammed Alimoor

|
626 installs
| (2) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

flutter-strings-extract

This extension is still under development, errors may occur and welcome your contributions

it's vs code extension "flutter-strings-extract". help you to extract static string in widget flutter to constant string file or getx localization file

Foo

How its Work

Extract Constant String

extract any string in widgets flutter to constant class Strings in lib\resource\strings.dart for example

       Text( "My Account"   ,
                  style: TextStyle(
                    fontSize: 25,
                  ),),

to

       Text(Strings.MyAccount   ,
                  style: TextStyle(
                    fontSize: 25,
                  ),),

Extract to getx localization

extract any string in widgets flutter to map enUS lib\localization\lang\en_us.dart for example

       Text( "My Account"   ,
                  style: TextStyle(
                    fontSize: 25,
                  ),),

to

       Text("MyAccount".tr   ,
                  style: TextStyle(
                    fontSize: 25,
                  ),),

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft