Every release, newest first.

Fetched from pub.dev on publisher useval.io

Showing 81 entries for all packages.

November 2026

  1. gpt_markdown

    gpt_markdown 1.4.1

    pub.dev

    Changed

    • wave now sweeps a crest in your theme's accent colour, and blurIn stays visibly soft while text fades in, both were hard to tell from fade.
    • With a blockAnimation, a streamed table appears once complete, so its entrance animates every row.
    • Requires material_ui 1.3.0+, val_latex_flutter 0.1.4+ and val_highlight_flutter 0.1.2+ (the latest that support Flutter 3.44).

    Fixed

    • Streaming no longer flickers: blocks don't replay their entrance when a reply goes quiet, and formulas don't flash raw TeX or blank out as they close.
    • Streamed code blocks: no flickering language label or stray backtick, and they grow smoothly as lines arrive.
    • Character animations are no longer cut short at higher speeds.

    Added

    • Optional accent and fontSize on revealStyleFor and applyReveal; RevealEngine.window, fadingFrom and maxFadeWindow.
  2. val_latex_flutter

    val_latex_flutter 0.1.4

    pub.dev

    Requires val_latex 0.1.4.

    Fixed

    • \cancel, \bcancel and \xcancel strokes now extend past the content, so a cancelled single character stays visible at text sizes (#1).
    • Flutter web release builds no longer crash the compiler (dart2js RangeError) (#2).
  3. val_highlight_flutter

    val_highlight_flutter 0.1.2

    pub.dev
    • Migrated from package:flutter/material.dart to material_ui.
    • Requires Flutter 3.44.0 (Dart 3.12) or later.
  4. val_latex

    val_latex 0.1.4

    pub.dev

    Fixed

    • \cancel, \bcancel and \xcancel strokes now extend past the content, so a cancelled single character stays visible at text sizes (#1).
    • Flutter web release builds no longer crash the compiler (dart2js RangeError) (#2).

October 2026

  1. gpt_markdown

    gpt_markdown 1.4.0

    pub.dev

    Added

    • CommonMark 0.31.2 conformance, checked in CI: 530 of 652 spec examples pass; the rest are documented choices. See CommonMark conformance.
    • HTML support. Common tags render as what they mean, formatting, links, images, headings, quotes, code, lists, checkboxes, wrappers like <div> are dropped and <script> is hidden. HTML tables support colspan, rowspan, <thead>/<tfoot> and <caption>, and inline <svg> renders as a drawing. htmlTags adds, remaps or removes tags; html: false turns HTML off. See HTML tags.
    • SVG images, including shields.io badges, and every HTML5 named entity.
    • New nodes and styles: MdSuperscript, MdSubscript, MdHighlight, ScriptStyle, HighlightStyle; plus MdUnorderedList.loose, MdOrderedList.loose, MdLink.autolink, MarkdownDefinitions.definesFootnote and imageSpan(onTap:).

    Changed

    • Breaking: migrated to material_ui (#152); the minimum SDK is now Dart 3.12 and Flutter 3.44.
    • Lists, quotes, links, emphasis and footnotes follow CommonMark and GitHub, so some replies parse differently. Dollar maths (useDollarSignsForLatex) now treats a $…$ pair as maths unless both dollars are clearly prices. See Migration.

    Fixed

    • HTML tags: a stray opening tag no longer stops later tags of the same name from rendering.
    • Streaming: no layout jumps for tables and block maths, no broken emojis mid-reveal.
    • Lists, link definitions, indented fences, image links and inline directives inside code now render correctly.
  2. val_highlight_flutter

    val_highlight_flutter 0.1.1

    pub.dev

    Added

    • Editing essentials in CodeField, configured with CodeEditing:

      • brackets and quotes close themselves, a typed closer steps over an automatic one, and Backspace deletes an empty automatic pair. Quotes stay single after a letter or digit and inside strings and comments;
      • typing a bracket or quote over a selection wraps it;
      • Enter between brackets, as in {|}, moves the closer onto its own line;
      • Ctrl+/ (Cmd+/ on Apple platforms) comments and uncomments lines, with the language's markers, or wraps a block comment where a language has no line comments. Doc comments (///, //!) and shebangs are commented out like code rather than stripped;
      • the bracket at the caret and its match are outlined.

      Brackets, quotes and comment markers come from the language's EditingSyntax. Typing is handled as text changes, so it works on on-screen keyboards and voice input as well as hardware keyboards, and text an input method is composing is never changed.

    • Line numbers in CodeField: lineNumbers, firstLineNumber and gutterStyle, plus highlightedLines, highlightCurrentLine and their colors. They are painted from the text's own layout, so wrapped lines line up, only visible lines are painted, and they follow the text when a font finishes loading late.

    • Shortcuts as intents: IndentCodeIntent, OutdentCodeIntent and ToggleCommentIntent. Rebind keys with CodeField.shortcuts (defaults in CodeField.defaultShortcuts), or override an intent with an Actions widget above the field.

    • CodeEditingFormatter: the same typing behaviour for a plain TextField driven by a HighlightTextController.

    • toggleComment: the comment toggle as a function on a TextEditingValue.

    • CodeField.inputFormatters: more formatters, applied after the editing behaviour.

    • CodeField.undoController: the field's undo history. Each edit the field makes itself is one undo step.

    Changed

    • Typing in CodeField now auto-closes brackets and quotes, and Enter between brackets splits them across lines. Pass editing: CodeEditing.none for 0.1.0's behaviour, or turn off single behaviours with CodeEditing.
    • Enter keeps the indentation on on-screen keyboards too, not only on hardware keyboards.
    • Requires val_highlight 0.1.1 (EditingSyntax and the bracket and context queries on HighlightResult).
  3. val_highlight

    val_highlight 0.1.1

    pub.dev

    Added

    • EditingSyntax: how a language is edited: its line and block comment markers, bracket pairs and quote characters. Every built-in language declares one; set Grammar.editing on your own, or let EditingSyntax.of derive it from the grammar's LineComment, BlockComment and QuotedString blocks. Grammar.extend takes an editing argument.
    • HighlightResult.matchingBracket: finds the matching bracket by walking tokens, skipping brackets inside strings and comments.
    • HighlightResult.isStringOrCommentAt, isCommentAt and isInsideStringOrComment: tell code apart from strings and comments, at a character or at a caret position. Interpolations inside strings count as code.
    • ScopeTable.isStringOrComment and isComment: the same questions for a scope stack, answered from a table built once per stack.

    Changed

    • Markdown highlights HTML comments (<!-- -->) as comments.
  4. val_latex

    val_latex 0.1.3

    pub.dev

    Fonts

    • MathFont.symbolsOf wraps an already parsed OpenTypeFont as a symbol font, like MathFont.symbols without parsing the file again.
    • OpenTypeFont reads more of the font: OS/2 (weightClass, fsType embedding permissions, fsSelection, useTypoMetrics, typographic ascender, descender and line gap, winAscent/winDescent), hhea lineGap, post underline position and thickness and isFixedPitch, head macStyle and bbox; kernPair for fonts with only a kern table; tableBytes for any table's raw bytes.
    • Shaping records each glyph's character span (firstCluster, lastCluster, over a ligature's components) and can use a language system's features (BEN , TRK …) instead of the script's default.

    Robustness

    • Damaged or hostile fonts can no longer make shaping or outline loading run for an unbounded time: contextual lookups nest at most 64 deep and each buffer has a work budget (as HarfBuzz's limits); composite glyphs are checked for cycles and limited to 4096 drawn glyphs per outline; CFF charstrings are limited to 65,536 operations, subroutines included.
  5. val_latex_flutter

    val_latex_flutter 0.1.3

    pub.dev

    Requires val_latex 0.1.2.

    Changed

    • Math glyphs are drawn through Flutter's text engine instead of as filled paths, so small formulas are as smooth as the text around them (path fills antialias coarsely: curves and diagonals of small glyphs looked stepped). This covers script-size forms, size variants, right-to-left mirrored glyphs, turned and circled letters, variable fonts and faces of a font collection. Until a font has registered (just after the first formula appears) and for assembly parts and the bold-text setting, glyphs are still filled from their outlines.
    • Fraction bars, radical overbars, rules and horizontal or vertical lines snap to device pixels across their thickness, and so does each formula's origin: thin bars stay one crisp line.

    Added

    • MathPainter.preloadFont, MathPainter.preloadFontsOf, MathPainter.fontsLoaded and MathPainter.fontGeneration; devicePixelRatio on MathPainter.paint and RenderMath (0 turns snapping off); PixelGrid, the snapping, for painters of their own.
  6. val_latex

    val_latex 0.1.2

    pub.dev
    • PathItem.source (a GlyphSource: font, glyph and affine placement) keeps the glyph a path is the outline of, for turned, reflected, circled, scaled and stretched letters (PathItem.glyph), so a renderer can draw the glyph itself; it survives layoutInBackground.
  7. gpt_markdown

    gpt_markdown 1.3.4

    pub.dev

    Changed

    • With useDollarSignsForLatex, $…$ is maths even in a reply that also uses \(…\). It used to be turned off for the whole reply. Prices still stay text ($5 and $10).

    Fixed

    • With the fade reveal, content below a list jumped up a few pixels as the fade finished passing over the list, most visibly the next heading.
    • A code block (or second paragraph) inside a list item, after a blank line, was rendered outside the list with the item's indent left in every line.
    • While a code block inside a > quote was still streaming, $ maths and inline patterns could reach into it (echo \(A/\)B).
    • The streaming hold no longer briefly shows a lone 2 before 2. item, an empty 2. item whose content is still arriving, or a [1] that becomes a [1]: url definition.
  8. gpt_markdown

    gpt_markdown 1.3.3

    pub.dev

    Added

    • CommonMark syntax: _italic_ / __bold__, multi-backtick code spans, ~~~ and longer fences, backslash escapes, entity references (&amp;, &#169;), link titles and <url> destinations, reference links, setext headings, closing #s, and hidden <!-- comments -->.
    • Footnotes: text[^1] with [^1]: note.
    • [1]: url gives a [1] citation chip a URL (SourceTagBuildDetails.url); tapping it calls onLinkTap when no onSourceTagTap is set.
    • MarkdownDefinitions and Plusparse.parse(definitions:), for parsing a document in pieces.

    Changed

    • * and _ followed by a space no longer open emphasis (2 * 3 * 4).
    • Single $ maths follows Pandoc's rule, so $5 and $10 stays prose.
    • Text directly above --- is now a heading.
    • MdNode has new subclasses: MdFootnoteReference, MdFootnoteDefinitions.

    Fixed

    • Inline patterns no longer reach into code spans or maths (`:wave:` showed a placeholder).
    • With autolink: false, patterns inside bold were not applied.
    • A URL right after _ was not autolinked.
    • $ maths was applied inside code.
    • [text](url "title") kept the title in the URL.
  9. gpt_markdown

    gpt_markdown 1.3.2

    pub.dev

    Added

    • onLatexTap: called when a formula is tapped, with a LatexTapDetails holding the formula (tex, source), whether it is inline, the TeX of the part under the finger (tappedTex) and any \href target. The default formulas show a click cursor while a handler is set.
    • inlineLatexBuilder builds an inline formula as an InlineSpan, return a MathSpan with its own onTap, plain text, or anything else that belongs in a line, and blockLatexBuilder builds a block formula as a Widget. Each takes one details object (InlineLatexBuildDetails, BlockLatexBuildDetails) with the formula after latexWorkaround and as written, the resolved style, an onTap bound to onLatexTap, and the stock formula to keep or wrap (defaultSpan(), defaultWidget(), asWidgetSpan()). LatexStyle still pads, fills and scrolls a block builder's result. Both pipelines honour them.

    Deprecated

    • latexBuilder and its LatexBuilder type, in favour of inlineLatexBuilder and blockLatexBuilder. Nothing is removed: it keeps working wherever the matching new builder is not set, and goes in 2.0.0.

    Changed

    • Requires val_latex_flutter 0.1.2, which adds taps to MathSpan and stops an inline MathSpan scaling twice under a text scaler. The default renderer now asks for streaming parses explicitly, so val_latex_flutter's new Math.tex default (not streaming) does not reach a formula still arriving.
  10. val_latex_flutter

    val_latex_flutter 0.1.2

    pub.dev
    • MathSpan takes onTap, onLongPress and onHover (reporting the node under the pointer, as on Math.tex), plus mouseCursor and semanticsLabel as on TextSpan (a click cursor by default when tappable) and copyFormat.

    Fixed

    • Inline formulas in Text.rich (MathSpan) and in MathText were scaled twice under a text scaler: at 2× system text they drew at 4×.
  11. gpt_markdown

    gpt_markdown 1.3.1

    pub.dev

    Added

    • Alerts: a quote whose first line is [!NOTE], [!TIP], [!IMPORTANT], [!WARNING] or [!CAUTION] renders with an icon, a title and an accent colour on a faint tint of it (#79). Style it with GptMarkdownStyleSheet.alert (AlertStyle, with per-type overrides) or replace it with alertBuilder. Apps that set blockQuoteBuilder and no alertBuilder keep their quote look. The parsed MdBlockQuote gains an optional alert; its children are unchanged.
    • Images with a data: URL, ![](data:image/png;base64,...), render (#32). They went to NetworkImage, which cannot load one outside a browser. The decoded bytes are cached, so rebuilds do not decode again.
    • GptMarkdownStyleSheet.blockSpacing sets the gap between blocks, in logical pixels (#41). Unset, it is the existing one empty line; it scales with the text either way, and extra blank lines in the source never widen it.
    • TableStyle.overflow: TableOverflow.wrap fits a wide table to the screen and wraps its cells instead of scrolling it sideways (#93). The default, TableOverflow.scroll, is the existing behaviour.

    Changed

    • Code blocks are highlighted with val_highlight_flutter instead of highlight: 55 languages, its light and dark themes, and a faster engine. A fence tag with no grammar still renders as plain text.
    • The minimum SDK is now Dart 3.9 and Flutter 3.35, which val_highlight requires.
    • Maths renders with val_latex_flutter instead of flutter_math_fork. Formulas are set in Latin Modern Math, a formula still streaming in (\frac{a) renders what exists so far, and \tag, align, \ce{…} and \SI{…} work. Size, colour, display style and the raw-TeX fallback are unchanged. Selecting a formula copies the LaTeX of the selected part. A latexBuilder written against flutter_math_fork keeps working if your app still depends on it.
    • Maths streams as it arrives. A formula that is still open, \(, \[, or $/$$ with useDollarSignsForLatex, renders as far as it has come and grows with each chunk, instead of being held back and appearing whole when its closing delimiter lands. A command name still being typed is held for a chunk, so raw TeX never shows. Only text that grows while mounted is affected; a finished reply renders as before.

    Fixed

    • With useDollarSignsForLatex, a $$ display formula that had not closed yet was read as an empty $…$ pair: it rendered as nothing and its body showed as prose until the closing $$ arrived.
    • Custom inlineComponents / components whose regex uses unicode: true (for example \p{L}) now match. The flag was dropped when the patterns were combined, so such components silently matched nothing (#114).
    • GptMarkdown no longer throws inside IntrinsicWidth or IntrinsicHeight, the usual way to shrink-wrap a chat bubble, when the message holds a table or a horizontal rule (#107). Normal layout is unchanged. Still open on the legacy pipeline (inlineComponents / components) in debug builds, where Flutter asserts on the dry baseline of block placeholders.
  12. val_latex_flutter

    val_latex_flutter 0.1.1

    pub.dev

    Requires val_latex 0.1.1, with everything it adds and fixes (TeX and LaTeX commands, packages, tikzcd, prooftree, robustness limits, scripts in other languages, glyph fallbacks).

    Changed

    • Math.tex and MathSpan no longer parse as streaming by default: a formula on its own is complete, so an unfinished command or group at its end (x + \frac{a}{) shows its error instead of being hidden. For text still arriving, pass parseOptions: ParseOptions(streaming: true) or use MathText(streaming: true). The flutter_math_fork compatibility layer does the same.
    • MathText.markdown is on by default: LLM replies are Markdown, so code spans and blocks are left as text. Pass markdown: false for plain text that uses backticks, ~~~ or <!--.
    • MathText parses with its own streaming flag: a finished message now shows an error for an unfinished command (\fo) instead of hiding it.

    Added

    • MathText.spacedDollars: accept $ x + y $ with spaces inside.
    • \leqno numbers are painted on the left.
    • \reflectbox: reflected text runs are painted mirrored.
  13. val_latex

    val_latex 0.1.1

    pub.dev

    Robustness

    • Untrusted input can no longer exhaust memory or hang: macro expansion is limited by the tokens it produces (ParseOptions.maxTokens, default 500,000), timeBudget is checked as work is done, \multicolumn and \hdotsfor counts are limited to the columns that exist, and every length is clamped to TeX's \maxdimen (dimensionTooLarge).
    • A limit reached outside any group leaves an error node, so the formula shows where it stopped.
    • Fixed crashes: a script on an empty symbol (\textcompwordmark_i), \mathop of one, text split by \over, a negative \hdotsfor factor, huge \cline ranges.

    Fixed

    • A backslash before a line end or a tab is a control space, as in TeX; the whole formula used to fail.
    • \\* and \\*[len] no longer draw a star; [t]/[b]/[c] work on array, aligned, alignedat, gathered and tables.
    • Words of other scripts inside a formula (Bengali, Hindi, Arabic, Thai…) stay whole, so they shape correctly.
    • A typed ⋅ is a binary operator (it was spaced as punctuation); typed ·, †, ‡, ⟂, ⊧ and others take unicode-math's classes.
    • \text{…} with a character Latin Modern lacks no longer loses the whole run in pure-Dart output: each character falls back to STIX Two; Cyrillic, Latin Extended and IPA come from STIX Two.
    • Variation selectors and other invisible characters no longer swallow their neighbour or leave gaps.
    • Operators and delimiters taken from STIX Two (\fint, \lBrace, \llangle…) grow and stretch; \widehat/\widetilde keep stretching past three letters; \utilde stretches.
    • toLatex round trips reach a fixed point for the new constructs.

    Added: TeX and LaTeX

    • \ensuremath, \[…\] in a formula, \newenvironment, \NewDocumentCommand and the rest of xparse, \DeclareRobustCommand, \protect, \makeatletter.
    • Lengths (\setlength, \arraycolsep, \jot, \fboxsep…), counters (\setcounter, \theequation, \numberwithin…), \makebox, \framebox, \parbox, minipage, center, \raisebox{-0.5\height}, \newcolumntype, \vline, \boldmath, \fontsize.
    • TeX programming: conditionals (\ifx, \ifnum, \ifcase, \newif…), \csname, \the, count and dimen registers (with TeX's "Arithmetic overflow" past their limits), \numexpr, \loop, \uppercase, \mathchar, \delimiter.
    • plain TeX: \matrix, \pmatrix, \cases, \bordermatrix, \eqalignno, \displaylines, \buildrel, \hbox to, \vbox, \vrule, \noalign, \leqno on the left, \sb, \sp.
    • \bgroup, \egroup, \long, \show, \message, \errmessage.
    • MediaWiki names: \plusmn, \Dagger, \lrarr, \lrArr, \Lrarr.

    Added: packages

    • tikzcd commutative diagrams and bussproofs prooftree.
    • unicode-math alphabets: \symbf, \symbb, \symcal, \mathup… .
    • siunitx: \sisetup, \DeclareSIUnit, \complexnum, \qtyproduct, most options, more units.
    • mathtools small matrices (psmallmatrix…), the derivative package (\odv, \pdv{f}{x,y}), \interval, harpoon accents, \widering, \widebar, \widetriangle, 88 mathabx symbols, empheq delimiters.
    • mhchem: charges inside \frac, \pu powers (mol-1), beta decay (^0_-1e), (v)/(^), \cf, \cesplit.
    • xcolor: the dvips names (NavyBlue…), \definecolor, \colorlet, mixes (red!30!blue), \columncolor.
    • MathJax commands: \bbox, \unicode, \require.
    • Common names: \E, \floor, \arsinh, \arcosh, \artanh.

    Added: input as models write it

    • & alignment with no environment is laid out as aligned, with a warning; doubled backslashes (\\frac, from JSON) are read as single ones; x^2' is {x^2}'; typed Aᵀ and eⁱᵖ are scripts; typed ẋ is \dot{x}; typed √2 is a square root; \left〈.
    • MathScanner: a price before a formula ($5 while $x$) no longer steals its dollar, $a$$b$ is two formulas, Markdown code (fences, indented blocks, HTML comments, unclosed code while streaming) is skipped, blockquotes, bare cases/pmatrix/aligned, doubled \\[…\\], spacedDollars (opt-in), and it is linear time.
    • Every command KaTeX 0.19 and flutter_math_fork define (except the fork's \cursor): KaTeX's Khan Academy colours (\blue{x}, \redA…), \varvdots, the texvc names \bull, \sub, \sube, \supe, amsmath's \tmspace, and graphicx's \reflectbox with KaTeX's \mathreflectbox (content mirrored left to right).
    • Drawn glyphs: ✔ ✗ ❌ ✅ ❗ ➔, the 109 arrows of Miscellaneous Symbols and Arrows (U+2B00–2BFF) the fonts lack (⬈ ⭢ ⭮ ⮐ ⮨ …), Roman numerals, ⅐ ⅑ ⅒, keycaps, ties.

    Changed

    • \num{3+-0.2} gives 3.0(2) and \SI's pre-unit is printed, as in siunitx v3; cmyk colours convert as xcolor does; the capitalised dvips names (Green, Orange…) take xcolor's values (lowercase names stay CSS).
    • With the physics extension off, \pdv and \pdv* follow the derivative package.
    • A blank line in math is a line break, with a warning.
    • \dotfill and \hrulefill draw outside tables.

    API

    • New: ParseOptions.maxTokens, ParseOptions.withStreaming, MathScanner(spacedDollars:), MathLayout.leqno, EquationNumber.left, ArrayNode.position/columnSep/jot, RaiseNode.byHeight…, EncloseNode.padding/ruleWidth, the diagram and proof AST nodes (DiagramNode, ProofTreeNode…), ReflectNode, TextItem.reflected and ImageItem.reflected (renderers draw them mirrored), MathVariant.doubleStruckItalic, and new diagnostic codes.
  14. val_latex_flutter

    val_latex_flutter 0.1.0

    pub.dev

    First release.

    val_latex_flutter renders LaTeX math in Flutter, using the val_latex engine.

    Added

    • Math.tex: a formula as a widget, sized and coloured by the text style; display mode with equation numbers at the margin.
    • MathText: text with $…$ and $$…$$ formulas in it, wrapping formulas with the words; safe for streaming text.
    • MathSpan: inline math in Text.rich, on the text baseline.
    • Wrapping: display formulas break to the width; MathOverflow scroll, shrink or clip for what cannot break. Baselines are reported in every case.
    • Interaction: onTap, onLongPress, onHover, animated highlights, selection in a SelectionArea that copies LaTeX (copyFormat), and keyboard navigation (focusable).
    • Accessibility: screen readers hear formulas spoken and move through them part by part; the bold-text setting is respected.
    • MathTheme: colours, fonts, fallback fonts and styles per \htmlClass name.
    • MathPainter: draw a layout on any canvas.
    • Caching: MathCache shares parses and layouts between widgets; layoutInBackground lays long formulas out in a worker isolate.
    • flutter_math_compat.dart: a drop-in replacement for package:flutter_math_fork/flutter_math.dart.
    • Latin Modern text fonts bundled for \text{…}.
    • Licence page: the third-party notices of this package and of val_latex appear on Flutter's licence page with no setup (registerValLatexLicenses).
  15. val_latex

    val_latex 0.1.0

    pub.dev

    First release.

    val_latex typesets LaTeX math in pure Dart. It runs anywhere Dart runs, the VM, Flutter on every platform, servers and the web, and is the shared core of val_latex_flutter.

    Added

    • Parser: parseLatex turns LaTeX math into an immutable syntax tree where every node carries its source span. It never throws for bad input: problems become error nodes and Diagnostics, and unfinished input is incomplete, so streaming text renders as far as it goes.
    • 3,882 commands and 68 environments: LaTeX and AMS math, mathtools, the physics package, mhchem (\ce, \pu), siunitx, diffcoeff, commath, nccmath, empheq, unicode-math names, stmaryrd and wasysym symbols, text tables and lists. LatexCatalog lists them all.
    • Macros: \def, \newcommand, \DeclareMathOperator and more, with TeX group scoping, shareable across formulas with newMacroTable().
    • TeX layout: layoutFormula and renderLatex follow the TeXbook's Appendix G and the OpenType MATH table, and produce a render-agnostic display list.
    • Fonts: Latin Modern Math bundled, STIX Two Math as the fallback; any OpenType math font with MathFont.fromBytes, variable fonts at any axis values.
    • Line breaking: LayoutOptions.maxWidth; prepareFormula lays out once and re-breaks for each width.
    • Right-to-left math: Arabic notation, Arabic-Indic and Persian digits.
    • Text with formulas: MathScanner finds $…$, $$…$$, \(…\) and \[…\] in text.
    • Outputs: toLatex (normalised source) and toSpeech (spoken math in eight languages, six of them drafts).
    • Hit testing and selection: hitTestLayout, selectionUnits.
    • Background layout: layoutInBackground in a worker isolate.
    • Third-party notices: valLatexNotices and THIRD_PARTY_NOTICES.md credit the work val_latex contains.
  16. val_highlight_flutter

    val_highlight_flutter 0.1.0

    pub.dev

    First release.

    val_highlight_flutter shows and edits syntax-highlighted code in Flutter, using the val_highlight engine.

    Added

    • CodeView: highlighted code with line numbers, highlighted lines, wrapping or horizontal scrolling, selection that never copies line numbers, a header slot, and custom gutter and line builders. Large files render lazily and are highlighted in a background isolate.
    • CodeField: a code editor. Tab and Shift+Tab indent and outdent, Enter keeps the indentation, and large documents stay fast by colouring only the visible lines.
    • HighlightTextController: highlights any TextField as you type, re-scanning only what each edit can affect.
    • Tappable tokens: CodeView.onTokenTap and CodeView.spanBuilder.
    • CodeTheme: app-wide defaults through ThemeData.extensions; follows light and dark mode.
    • CodeHighlighter: result caching, isolate threshold, and preload to compile languages during idle frames.
    • Language detection and a generic fallback when no language is given.
  17. val_highlight

    val_highlight 0.1.0

    pub.dev

    First release.

    val_highlight is a syntax highlighter written in pure Dart. It runs anywhere Dart runs, the VM, Flutter on every platform, and the web, and is the shared core of val_highlight_flutter.

    Added

    • 55 languages: Dart, Kotlin, Swift, Java, Objective-C, C, C++, C#, Go, Rust, Zig, JavaScript, TypeScript, JSX, TSX, HTML (with embedded CSS and JavaScript, including .vue and .svelte), CSS, SCSS, Less, PHP, Python, Ruby, Lua, Perl, Bash, PowerShell, Batch, R, Julia, Elixir, Erlang, Haskell, OCaml, F#, Scala, Clojure, Groovy / Gradle, SQL, JSON, YAML, TOML, XML, INI / properties, Protobuf, GraphQL, HCL / Terraform, nginx, Dockerfile, Makefile, CMake, Markdown (fenced code in any language), LaTeX, NASM, Solidity and diff.
    • genericLanguage: a fallback that highlights code in any language reasonably, and plainTextLanguage.
    • Incremental highlighting: IncrementalHighlighter re-scans only what an edit can affect.
    • Flat token output: tokens as two integer lists with a shared scope table, plus a line API for renderers.
    • 8 themes: light, dark, sepia, dim, midnight, forest, high-contrast light and dark. Every colour meets WCAG AA contrast.
    • VS Code themes: ValTheme.fromVsCode and ValTheme.fromVsCodeJson.
    • HTML output: CSS classes with ValTheme.toCss, or inline styles.
    • Language detection: LanguageDetector, by file name, shebang and content.
    • Grammar building blocks: LineComment, BlockComment, QuotedString, Interpolation, Numbers, Operators, Annotation, Preprocessor and CommonRules, so most grammars need no regular expressions. Extend BlockRule for your own.
    • Customisation: Grammar.extend, Grammar.withKeywords, ValTheme.extend, and LanguageRegistry with fallbacks and file-name matching.

September 2026

  1. gpt_markdown

    gpt_markdown 1.3.0

    pub.dev

    Our biggest release yet.

    gpt_markdown 1.3.0 introduces a new rendering pipeline for fast, production-grade AI output. Parsing is 3–9× faster than the legacy parser, whole-frame rendering is up to 2× faster, and streaming performance stays flat as responses grow.

    At 12 KB, per-chunk streaming is 31× faster with GptMarkdown and 74× faster with SliverGptMarkdown compared with 1.2.1. See the benchmarks.

    Nothing has been removed. Existing integrations continue to work, and deprecated APIs remain supported until 2.0.0.

    Added

    • plusparse: a new single-pass parser, enabled by default.
    • SliverGptMarkdown: lazy rendering for long documents and streaming responses.
    • Streaming animations: character reveals and block entrances with configurable timing and curves.
    • Modern extension APIs for custom block and inline syntax.
    • Span-based builders for links, citations, and inline code.
    • Syntax highlighting for nearly 200 languages, with a language label and accessible copy button.

    Changed

    • Links now wrap naturally, align with surrounding text, and remain selectable.
    • Block elements render independently, improving selection, scaling, and bidirectional layouts.

    Fixed

    • maxLines now limits the complete document, and paragraph line breaks are preserved.
    • Lists, quotes, tables, code blocks, images, and mathematics scale and style consistently.
    • Streaming accessibility no longer produces repeated announcement storms.
    • Fixed numerous parsing, reveal-ordering, and streaming-stability issues.

    Deprecated

    The legacy regex parser remains fully functional, with removal planned for 2.0.0.

    The incremental argument is no longer needed. Replace components and inlineComponents with blockComponents, inlinePatterns, or inlineDirectives.

    See MIGRATION.md for complete upgrade guidance.

August 2026

  1. gpt_markdown

    gpt_markdown 1.2.1

    pub.dev

    Changed

    • Radio list markers use RadioGroup instead of Radio.groupValue and Radio.onChanged, which Flutter deprecated in 3.32. No visual or behavioural change, the marker looks and responds exactly as before.
    • Minimum Flutter is now 3.32.0, the release RadioGroup was added in.

    Added

    • InlinePattern.delimited for tokens that open and close, such as :emoji:, ::spoiler:: or {{token}}, the counterpart to InlinePattern.prefixed, which cannot express a closing delimiter. The token name is the named group name. See docs/inline-syntax.md.

Every package is on pub.dev.