latex_widgets_builder 0.0.2 copy "latex_widgets_builder: ^0.0.2" to clipboard
latex_widgets_builder: ^0.0.2 copied to clipboard

A Flutter package providing UI widgets for building, manipulating, and displaying LaTeX math expressions.

LaTeX Widgets Builder #

A Flutter package that provides UI widgets for building and displaying LaTeX math expressions.

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  latex_widgets_builder: ^0.0.2 # Use the latest version

Then, run flutter pub get.

Usage #

(Detailed usage examples will be added here once the core widgets are implemented.)

import 'package:latex_widgets_builder/latex_widgets_builder.dart';

// Example of how you might use the LaTeXTree (from the core logic)
void main() {
  final tree = LaTeXTree();
  tree.addChildLeaf(LEType.numberLeaf, "1");
  tree.addChildLeaf(LEType.operatorLeaf, "+");
  tree.addChildLeaf(LEType.numberLeaf, "1");
  print(tree.toLaTeXString); // Output: 1+1|
}

// Placeholder for a Flutter widget example
/*
class MyMathEditor extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        // LatexDisplayWidget(controller: _latexController),
        // LatexKeyboard(controller: _latexController),
      ],
    );
  }
}
*/

Visuals #

(A screenshot or GIF demonstrating the widgets in action will be added here.)

Placeholder Image

License #

This package is licensed under the MIT License. See the LICENSE file for details.

0
likes
125
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package providing UI widgets for building, manipulating, and displaying LaTeX math expressions.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_redux, redux

More

Packages that depend on latex_widgets_builder