FIDE is an open-source, opinionated IDE for Flutter development, built in Flutter. It is not a general-purpose editor: every panel is designed around a Flutter project, and code quality is part of the workflow, measured by fCheck and assisted by a local AI model that never sends your code to the cloud.
| Platform | Latest build |
|---|---|
| macOS | FIDE-macos.zip |
| Windows | FIDE-windows.zip |
| Linux | FIDE-linux.tar.gz |
FIDE drives the Flutter SDK installed on your computer instead of bundling one: install the requirements first. Then unpack the build for your OS:
- macOS: move
FIDE.appto Applications and open it. The build is signed and notarized by Apple, so macOS only asks you to confirm opening an app downloaded from the Internet. - Windows: unzip it into a folder you own and run
fide.exe. The build isn't signed yet: when Windows protects your PC, pick More info › Run anyway. - Linux: untar it into a folder you own and run
bundle/fide.
To run FIDE from its source code instead, see Getting Started. What changed in each release is in CHANGELOG.md.
FIDE keeps itself up to date. It looks for a newer release at launch and every four hours; when one is out, it tells you and shows an update button in the title bar, beside Settings. Click it when you're ready: FIDE downloads the new build, saves your open files, quits, and restarts updated. Settings › Updates shows the version you run and checks again on demand.
FIDE replaces itself where it is installed, which is why Install puts it in Applications or a folder you own: macOS runs an app opened from Downloads from a read-only copy. FIDE run from its source code never updates itself: Git does.
- Flutter first: the project tree, run targets, tests, localization and quality checks all understand Flutter projects
- Quality built in: fCheck scores the project and lists what to fix, and FIDE fixes what it can by itself
- Deterministic before AI: mechanical refactorings run as instant quick fixes; the local model only gets what code cannot decide
- Private by default: analysis runs locally, and the AI runs on your machine through Ollama
- Open source: community-driven, with transparent development
fCheck is a companion project: a fast, local quality analyzer for Flutter and Dart that scores a project from 0 to 100% across code size, dead code, documentation, duplicate code, hardcoded strings, layers, magic numbers, localization and more. It runs as a CLI and as a Dart package.
FIDE uses fCheck as a Dart package (package:fcheck/fcheck.dart). fCheck is the brain, and FIDE is the workbench:
| fCheck finds | FIDE does with it |
|---|---|
| The project score and each analyzer's deduction | Shows them in the Project Overview and the Info panel, with the best practice behind each issue |
| Each finding's file and line | Opens the finding in the editor |
Hardcoded strings, their role and their BuildContext |
Quick fixes: moves user-facing strings into ARB files and replaces them with localization lookups, or turns lookup keys into named constants |
| Files declaring more than one public class | Split Classes makes each widget's public State private and moves every other public class into its own file, updating imports across the project |
| Missing and out-of-sync translations | The Localize panel translates ARB keys in small batches with the local model |
| Duplicate code, the largest classes, the most coupled files, layer violations | D.R.Y. and S.O.L.I.D. reviews in the AI panel, which send the model only that focused context, not the whole lib folder |
FIDE never reimplements analysis. When FIDE needs a new finding or metric, it is added to fCheck first, kept general for all of fCheck's users, and then used by FIDE.
An analysis still being evaluated can start in FIDE, written the way fCheck's analyzers are, and moves into fCheck once it proves its value: today the Analyzer tab's File Layout and Repeated Widget Settings, and the Color contrast and Widget States checks.
FIDE holds itself to the same standard: its own code must score 100% with fcheck --strict (see tool/check.sh).
- Project explorer with several views
- Organized: the project grouped by role: Root, Lib, Tests, Assets, Platforms, Output; a file declaring more than one public class shows how many, and a click splits it (see One class per file)
- Folder: the classic file tree
- Git: staged, unstaged and untracked files
- Rename a file or folder from its menu: every
import,exportandpartnaming its Dart files points at the new name across the project, as the File Layout review's moves do, and an open tab follows it
- Code editor with Dart syntax highlighting, search and replace, go to line, quick open, side-by-side diffs and image preview
- Code completion and live errors from the Dart SDK's own analysis server (
dart language-server), run on your machine: completions as you type, the documentation of what the pointer rests on, the parameters of the call you type, and the problems of the code as typed, unsaved edits included, underlined before you save, beside fCheck's findings - Go to Definition: ⌘-click a name (Ctrl-click on Windows and Linux), or press F12, to jump to where the project declares it: a class, constructor, method, field, variable, parameter or import prefix, resolved by the Dart analyzer rather than matched by text, unsaved edits included; Go Back returns to the file you came from
- Audio editor for sound files (WAV, MP3, Ogg, M4A, AAC, FLAC): play and stop, trim on the waveform, change the speed without changing the pitch and the pitch (±12 semitones) without changing the speed, then save over the file in its own format. WAV is handled natively; other formats convert through
afconvert(built into macOS) orffmpeg, which saving MP3 and Ogg needs - Outline of the selected file, right under its row in the Organized and Folder trees (click the file again to fold it): a Dart file's classes and members, with how many callers each has, a Markdown file's headings, a YAML file's keys. Under the
buildthe cursor is in (any function returning widgets) unfolds its widget tree: every widget nested under the parent whose slot it fills (child,children,body,appBar,title, builders, ...), throughif,for,?:and.map(...), with helper calls such as_buildHeader()and widget variables marked as references; other functions show how many widgets they build. The cursor highlights its path down the tree, and a click jumps to the entry. Each widget's menu, on its ⋯ button under the cursor or a right-click, reshapes the tree in one step, without the AI: Wrap with Padding, Center, Expanded, SizedBox, Column, Row, Stack, Builder or any widget you name; Remove Widget, its child or children taking its place; Swap with Parent; and Move Up or Move Down among the widgets of its list. The file is saved and formatted, and the caret lands on the widget edited - Preview of the current file's
@Previewwidgets, live as you save: FIDE runs them headless on the Dart VM (sodart:ioand assets work), streams each frame into the panel, on the same Transparent / Black / White / Rainbow backdrop picked for images, and forwards your clicks and scrolls. Switch it to Project to list every preview of the project, collapsed and filterable: only the one you expand is rendered, so it scales to any number of previews. A preview whose code sets no size is sized to its content; its width and height are each Auto or fixed, your choice: click either to switch, or drag the grips on the right of and under the preview to resize it in 10-px steps, then Fix Size writes what you picked into its@Preview(size: ...)(Size(w, h),Size.fromWidth,Size.fromHeight, or no size). For a file without previews, Generate Previews writes them, with sample values picked from each parameter's type; the AI writes those that need model objects - Search across the project
- Terminal opened in the project folder
- Run: build, run, debug and clean for each supported platform, with clickable
path:line:columnlinks in the output, then manage the project's packages: the direct and developer dependencies, each opening its pub.dev page, flagged when outdated or conflicting, Outdated and Upgrade, and editingpubspec.yaml- Hot reload: while Run Debug runs, each save hot reloads the app, and restarts it when a change can't be hot reloaded; Hot Reload and Hot Restart, beside its Stop and in the Run menu, apply the saved code at once, and their compile errors feed the AI's Fix Build
- Test: run the project's tests and coverage
- Create project: a three-step wizard for new Flutter apps
- Project overview: icon, version, fCheck score, code size, platforms, tests, coverage and translations, shown when no file is open
- Info panel, the right panel's first tab, about what is selected, then the project: the selected file's path and actions (and an image's dimensions, color mode, transparency and dominant colors); the declaration under the cursor with its callers and what it calls in the project, each a click away; the live preview of the widget class the cursor is in, when it has a
@Preview; then the project's version and every fCheck deduction with its findings and the best practice that fixes it - One class per file: a file declares one public class, named as the file. A stateful widget is two classes, the widget and the
StateitscreateState()makes: theStateis part of its widget, not a class of its own, so it lives in the widget's file, private (_FooState), and the pair counts as one class; aStateother files reach by name, through aGlobalKey<FooState>as Flutter'sFormStateis, stays public beside its widget. The issue in the Info panel lists each file breaking the rule and explains it; Split Classes, on that issue or on a file's count in the Organized view, makes each widget's publicStateprivate and moves every other public class but one into its own file, a stateful widget with itsState, updating imports across the project, without the AI. A file starting with// ignore: fcheck_one_class_per_file, before any code, is left as it is by fCheck and Split Classes alike, and counts as a bypassed check - Widget States: each stateful widget's
Stateout of place, among the quality issues (the overview, the Info panel and the title bar's light bulb), at a cost to the score: aStateapart from its widget, in a part file or a file of its own, and and a public one no other file of the app names. A widget'sStateis private to its widget, so a test reaching into it,tester.state<FooState>(…),widget.createState()or a variable holding it, is wrong: each such test line is an error under Tests reaching into States, explaining why and how to check the widget instead (what it shows, the callbacks it calls, acting as a user does). Fix States fixes both in one click, without the AI: it moves eachStatebeside its widget, deleting the part file it empties; moves out of it the methods tests call that use nothing of it, as top-level functions the tests then call directly, so their checks stay; removes from the tests every other statement reaching into it, with a test,setUpor group left empty and the imports no longer used; and makes it private, its widget declaringState<Foo> createState(), refusing any change that wouldn't compile. End aState's line, or start its file, with// ignore: fcheck_widget_stateto leave it as it is, to the check and Split Classes alike - Changes across the project, a quick fix, Split, Move or Fix, block the app while they run, so nothing edits the files meanwhile: a dialog over a dimmed window shows the step they're at, such as
Fixing the States of camera_screen.dart (2 of 3), with Cancel, which stops them before the next file is written, leaving no file half changed - Analyzer panel, the right panel's refactoring reviews, each with the changes FIDE's own code makes, no AI involved; its tab's badge counts what the reviews it ran found, files to move and repeated settings, kept current as you save:
- File Layout: the files outside the folder their kind belongs in: screens and pages (widgets building a
Scaffold, or opened as a route) inlib/views, widgets reading no app state, even through what they import, inlib/widgets, and plain Dart types, without Flutter, I/O or async code, inlib/models. Move moves a file there with its parts, or Move All a whole kind, pointing everyimport,exportandpartnaming it at its new place acrosslib,testand the rest of the project. A file already in a folder named for its kind, at any depth, stays; start a file with// ignore: fcheck_file_layoutto keep it where it is. No move adds a Layers issue: fCheck judges the layout each move would make, so a move takes along the files that would otherwise add one (files the review moves anyway, or helpers only the moved files use) and says which issues it fixes; a file that can't move without adding one says which, and Move All moves as many of a kind as go together - Repeated Widget Settings: the widget settings the code writes more than once, with Fix to use a shared widget or constant; each place is named after its class, a widget's
Stateafter its widget, and shows whether it is in a view or a widget, with File Layout's glyphs, told apart as File Layout does, never by folder
- File Layout: the files outside the folder their kind belongs in: screens and pages (widgets building a
- Localize panel: sets up
gen-l10n, lists each ARB key with its translations, and translates missing keys with the local model - Accessibility: each text and icon color the code gives, and each on-color of the project's color schemes, judged against what it is drawn on in every theme the app renders, at WCAG 2 level AA. The overview's Accessibility card shows the share that reads; its view counts the elements judged by kind and contrast range, shows the color scheme of each theme and where it is defined, and lists every color the code writes, the most used first. Colors that fall short are listed with their file and line among the quality issues and lower the score; end a line with
// ignore: fcheck_color_contrastto skip it
- Stage and unstage single files or everything
- A file moved or renamed, staged or not, is one row,
new path ← old path, not a deletion and a new file: its line counts and diff compare it with where it came from, and Stage, Unstage and Discard act on both ends - Commit, push and pull
- View diffs and recent commits
The AI panel works like a terminal session: your prompts, the model's Markdown replies and each tool step in one transcript. You can select text across messages and copy any entry to the clipboard.
| Action | What it does |
|---|---|
| Ask AI | Answers questions and makes the changes you ask for (explain, write or reshape code), with the selected file as context |
| Fix Build | Fixes the errors of the last failed build |
| D.R.Y. Review | Reviews the duplicate code fCheck found |
| S.O.L.I.D. Review | Reviews fCheck's largest and most coupled code against SOLID |
When you ask for a change, the AI edits the project files itself instead of replying with code to paste. FIDE installs Ollama, starts it and downloads the model for you. See AI_SETUP.md.
- Left, center, bottom and right panels, each shown or hidden; ⌥-click a panel toggle, or click the active tab of the left or right panel again, to show it large
- Light, dark and system themes, with whole-UI zoom
- Recent projects on the welcome screen
- Native builds for macOS, Windows and Linux
| Shortcut | Action |
|---|---|
| ⌘1 / ⌘2 / ⌘3 | Show or hide the left, bottom and right panels |
| ⌃1 / ⌃3 | Show the next left or right panel tab |
| ⌘+ / ⌘- / ⌘0 | Zoom in, out, or back to 100% |
| ⌘\ / ⇧⌘\ | Hot reload or hot restart the app Run Debug runs |
All shortcuts are listed in Settings.
- Clone this repository
- Run
flutter pub get - Run
flutter run -d macos(orwindows,linux) - Open a Flutter project folder, or create a new one
- macOS:
flutter build macos - Windows:
flutter build windows - Linux:
flutter build linux
Pushes to main only run the tests. To ship the code in its current state, from an up-to-date main with no pending changes:
tool/release.sh patch # or minor, major, or an exact version such as 1.2.0The script sets the new version in pubspec.yaml (the build number goes up by one) and adds the release to CHANGELOG.md, one line per commit subject since the last release, which it shows before you confirm. It then runs the analyzer, the tests, fcheck --strict and a macOS build, commits the version and the changelog, tags them v1.2.0 and pushes both, with any commits of main not pushed yet; it stops at the start when origin/main has commits you haven't pulled. If any step fails, both files are put back and nothing is committed. A release tag found only on your machine, never pushed, is left over from an earlier try: the release moves it.
The pushed tag starts the Release workflow, which checks that the tag matches pubspec.yaml, tests the code, builds it for macOS, Windows and Linux, signs and notarizes the macOS build, and publishes the three builds as the latest GitHub Release, which the Download links serve as soon as the workflow ends, and which running FIDEs then offer to update to. It then deletes the older releases (their tags stay), so GitHub stores only the latest build. To try a release first, run the Release workflow from the Actions tab: it builds any branch and keeps the builds as workflow artifacts, without making a release. Each Release run deletes the build artifacts of the runs before it.
The Release workflow signs the macOS app with a Developer ID certificate and has Apple notarize it, so macOS opens it without asking to allow it in Privacy & Security; the macOS build fails when the secrets below are missing. To set them up once, with a paid Apple Developer account:
-
Developer ID certificate (only the team's Account Holder can create one): in Xcode › Settings › Accounts, select the team, click Manage Certificates…, then + › Developer ID Application. In Keychain Access › My Certificates, right-click Developer ID Application: … and export it, with its private key, as a
.p12file protected by a password. -
Notarization key: in App Store Connect › Users and Access › Integrations, generate a Team Key with the Developer role and download its
AuthKey_<KEY ID>.p8(Apple offers the download only once). Note its Key ID and the Issuer ID shown above the keys. -
Repository secrets, from the repository folder:
base64 -i DeveloperID.p12 | gh secret set MACOS_CERTIFICATE gh secret set MACOS_CERTIFICATE_PASSWORD # asks for the .p12 password gh secret set APPLE_API_KEY < AuthKey_<KEY ID>.p8 gh secret set APPLE_API_KEY_ID --body <KEY ID> gh secret set APPLE_API_ISSUER_ID --body <ISSUER ID>
Then run the Release workflow from the Actions tab to try the signing out before the next release. Apple shows the certificate's expiration date when it creates it: before then, make a new one and update the two MACOS_CERTIFICATE secrets (builds signed before stay valid).
- Flutter SDK (Dart
^3.13.7) - Git, for the Git view
- Ollama, only for the AI and translation features; FIDE can install it for you
Contributions are welcome. Please:
- Open an issue first to discuss what you'd like to change
- Follow the rules in AGENTS.md
- Run
tool/check.shbefore opening a pull request: analyze, tests and an fCheck score of 100%
To refresh the screenshots, run tool/screenshots.sh on macOS: it opens this repository in FIDE and saves each view to docs/screenshots.
fCheck draws the project's structure. FIDE's folders and their dependencies:
Lines of code per file:
If FIDE helps you, you can support its development:
This project is licensed under the MIT License.



