Skip to main content

open_intelligent_ui_math 3.1.0 copy "open_intelligent_ui_math: ^3.1.0" to clipboard
open_intelligent_ui_math: ^3.1.0 copied to clipboard

Math component for Open Intelligent UI: LaTeX formulas drawn with flutter_math_fork.

open_intelligent_ui_math #

Math component for Open Intelligent UI: LaTeX formulas drawn with flutter_math_fork. It brings flutter_math_fork, which bundles the KaTeX fonts.

Install:

fvm flutter pub add open_intelligent_ui_math

Use #

import 'package:open_intelligent_ui_core/open_intelligent_ui_core.dart';
import 'package:open_intelligent_ui_math/open_intelligent_ui_math.dart';

final builders = composeBuilders([mathBuilders]);
final library = intelligentUiFor(builders);
final session = OpenUiSession(library)..update(textSoFar, streaming: true);

OpenUiView(session: session, builders: builders);

The library from intelligentUiFor lists Math, so library.systemPrompt(chatPromptFor(library)) tells the model it exists.

Part of open_intelligent_ui; see its README.

0
likes
140
points
72
downloads

Documentation

API reference

Publisher

verified publisherhashstudios.dev

Weekly Downloads

Math component for Open Intelligent UI: LaTeX formulas drawn with flutter_math_fork.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

ai_sdk_openui, flutter, flutter_math_fork, open_intelligent_ui_core

More

Packages that depend on open_intelligent_ui_math