FlutterGPT is an open-source project aimed at creating a coding assistant specifically designed for Flutter Engineers. This assistant helps with creating, refactoring, and debugging code, making the development process more efficient and enjoyable.
We're starting with simple features to create, refactor, and debug with a vision to build a supercharged, free-to-use coding assistant built for and by Flutter Engineers.
We only use GPT3.5 because it's fast, highly accurate, cheap, and is available to all.
Create flutter widgets based on the description you provide. Be as specific as you like.
FlutterGPT Create: Widget from Description
Create model classes from JSON with null safety in mind. You can also choose to generate Freezed or JsonSerializable modules
command: FlutterGPT Create: Model Class from JSON
Convert you postman collection exports json to API repository class
command: FlutterGPT Create: API Repository from Postman JSON
Get complete code from a blueprint of a class or function with the behaviour of functions, state management and architecture of your choice.
command: FlutterGPT Create: Code from Blueprint
Refactor widgets and logic both with this command.
command: FlutterGPT Refactor: From Instructions
Pass your runtime errors and get fixed code back.
command: FlutterGPT Refactor: Fix Errors
- You'll need an OpenAI account with a valid API key. For more information on obtaining an API key, please visit the OpenAI API documentation.
-
After installing the plugin, please navigate to IntelliJ settings -> Tools -> FlutterGPT -> Add Secret Key from here OPENAI API Key.
-
To get started, select any piece of your dart code, open tools and you'll find all the available create and refactor actions. Details are provided above.
Please Note: Using OpenAI APIs will incur charges. From our observations, running 500 create widget from description costs only 1$.
This is the beta version and can be unstable.
First version of FlutterGPT!
We welcome contributions from the community. If you'd like to contribute to the project, report issues, or suggest new features, please follow the guidelines in our CONTRIBUTING.md file or reach out to us through [contact information].
FlutterGPT is released under the Apache License Version 2.0. See the LICENSE file for more information.