flutter_code_editor
A customizable code field supporting syntax highlighting and code folding.
0.3.5
21K downloads/mo
#2131 most downloaded on pub.dev
akvelon/flutter-code-editor
What this package is like to depend on
Last release 11 months ago
27 Sep 2025
Release timing varies
gaps range from 8 days to 9 months
Nearly every release is documented
notes for 47 of 48 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
48 releases · first in 2022
1 release in the last 12 months
see the full history below
Release timeline
48 releases · Sep 2022 to Sep 2025
2023
2024
2025
2026
Releases
latest 48-
0.3.527 Sep 2025Release notes
Open source →- Fixed line numbers not aligning with lines (https://github.com/akvelon/flutter-code-editor/pull/307)
-
0.3.428 Jul 2025Release notes
Open source →- Added default height to
defaultTextStyle(https://github.com/akvelon/flutter-code-editor/pull/297). - Added
disposedandmountedchecks toCodeFieldandCodeController(https://github.com/akvelon/flutter-code-editor/pull/298). - Added
UndoHistoryControllertoCodeField(https://github.com/akvelon/flutter-code-editor/pull/302). - Added support for
yamlcomments (https://github.com/akvelon/flutter-code-editor/pull/305).
- Added default height to
-
0.3.325 Mar 2025Release notes
Open source →- Added
smartDashesTypeandsmartQuotesTypetoCodeField(https://github.com/akvelon/flutter-code-editor/pull/278). - Added named sections support for JavaScript and TypeScript (https://github.com/akvelon/flutter-code-editor/pull/291).
- Added
-
0.3.226 Jun 2024 -
0.3.123 Oct 2023 -
0.3.008 Jun 2023Release notes
Open source →- BREAKING: Deleted
CodeController.stringMap. - BREAKING: Deleted
themefromCodeController, (Issue 172).
- BREAKING: Deleted
-
0.2.2407 Jun 2023Release notes
Open source →- Hide the suggestion box when
CodeFieldis disposed (Issue 241). - Fix issues with Flutter 3.10.
- Hide the suggestion box when
-
0.2.2305 May 2023 -
0.2.2205 May 2023 -
0.2.2104 May 2023 -
0.2.2028 Apr 2023 -
0.2.1927 Apr 2023Release notes
Open source →- Fixed inability to change the value with
WidgetTester.enterText()(Issue 232).
- Fixed inability to change the value with
-
0.2.1819 Apr 2023 -
0.2.1718 Apr 2023Release notes
Open source → -
0.2.1618 Apr 2023 -
0.2.1511 Apr 2023Release notes
Open source →- Suggestion box is shown in an
OverlayEntryinstead ofStack(Issue 207).
- Suggestion box is shown in an
-
0.2.1424 Mar 2023 -
0.2.1313 Mar 2023 -
0.2.1220 Feb 2023Release notes
Open source → -
0.2.1120 Feb 2023Nothing published for this version
-
0.2.1010 Feb 2023 -
0.2.927 Jan 2023Release notes
Open source →- Hiding line numbers, errors, and folding handles (Issue 159).
- Indent new line after
:in Python (Issue 135). - Track the test coverage, add the codecov badge (Issue 146).
- Do not pale the editor if a visible section is set (Issue 153).
- Added GIFs to README (Issue 148).
- Fixed 'Index out of range' exception with visible sections on the default factorial example (Issue 152).
- Fixed linter issues (Issue 147).
-
0.2.818 Jan 2023Release notes
Open source →- Java fallback parser preserves foldable blocks if
highlightfails (Issue 48).
- Java fallback parser preserves foldable blocks if
-
0.2.717 Jan 2023 -
0.2.613 Jan 2023 -
0.2.506 Jan 2023Release notes
Open source → -
0.2.426 Dec 2022Release notes
Open source →- Exported
StringExtension. - Added an example with changing the language and the theme.
- Exported
-
0.2.321 Dec 2022 -
0.2.220 Dec 2022Release notes
Open source →- Added
CodeController.lastTextSpanfield (visible for testing) to return the lastTextSpanproduced bybuildTextSpan().
- Added
-
0.2.109 Dec 2022 -
0.2.009 Dec 2022Release notes
Open source →- BREAKING: Removed theme from
CodeController. UseCodeThemewidget instead. - BREAKING: Removed
webSpaceFix, https://github.com/flutter/flutter/issues/77929 - BREAKING: Fixed typo
IntendModifier→IndentModifier. - BREAKING:
CodeFieldStateis now private.
- BREAKING: Removed theme from
-
0.1.1502 Dec 2022 -
0.1.1402 Dec 2022Release notes
Open source →- Python fallback parser preserves foldable blocks if
highlightfails (Issue 49).
- Python fallback parser preserves foldable blocks if
-
0.1.1329 Nov 2022 -
0.1.1229 Nov 2022 -
0.1.1125 Nov 2022 -
0.1.1021 Nov 2022 -
0.1.921 Nov 2022 -
0.1.811 Nov 2022 -
0.1.711 Nov 2022 -
0.1.611 Nov 2022 -
0.1.509 Nov 2022 -
0.1.408 Nov 2022Release notes
Open source →- Added
CodeController.readOnlySectionNamesgetter and setter (Issue 110). - Added
CodeController.foldCommentAtLineZero,foldImports,foldOutsideSections(Issue 89). - Added
CodeController.visibleSectionNames(Issue 27). - Fixed folding Python blocks with multiline
ifconditions (Issue 108). - Fixed folding duplicate blocks like
[{...}]etc (Issue 99). - Fixed
cutLineIndexIfVisiblebug (Issue 112).
- Added
-
0.1.331 Oct 2022 -
0.1.226 Oct 2022 -
0.1.125 Oct 2022Release notes
Open source →- Added code folding.
- Fixed editing around hidden text ranges.
- Updated dependencies.
-
0.1.027 Sep 2022 -
0.0.901 Sep 2022Release notes
Open source →- Forked https://github.com/BertrandBev/code_field
- Re-license under the Apache license, mention the original author as the original license required.
- Added hidden service comment support.
- Added read-only blocks support.
- Added autocomplete for keywords, already-in-the-editor words, and external dictionary.