β–²

Flutter Gems is a curated list of 6700+ useful Dart & Flutter packages that are categorized based on functionality.

Discord Medium LinkedIn Twitter

Top Flutter Math Utilities packages

Last updated: January 26, 2025

The complete list of Dart and Flutter packages that provide functions and utilities related to Mathematics, Scientific, Finance and Statistics, is provided below.


vector_math
πŸ‘ 331   β¬‡οΈ 3.5M
Dart 3 compatible
Maintenance Status: Poor

A Vector Math library for 2D and 3D applications.

graphs
πŸ‘ 114   β¬‡οΈ 3.5M
Dart 3 compatible
Maintenance Status: Good

Graph algorithms that operate on graphs in any representation.

boolean_selector
πŸ‘ 26   β¬‡οΈ 3.5M
Dart 3 compatible
Maintenance Status: Good

A flexible syntax for boolean expressions, based on a simplified version of Dart's expression syntax.

decimal
πŸ‘ 376   β¬‡οΈ 385.5K
Dart 3 compatible
Maintenance Status: Good

The decimal package allows you to deal with decimal numbers without losing precision.

rational
πŸ‘ 19   β¬‡οΈ 421.3K
Dart 3 compatible
Maintenance Status: Good

The rational package allows you to deal with rational numbers.

math_expressions
πŸ‘ 339   β¬‡οΈ 34.8K
Dart 3 compatible
Maintenance Status: Good

A library for parsing and evaluating mathematical expressions, supporting real numbers, vectors, and basic interval arithmetic.

adaptive_number
πŸ‘ 1   β¬‡οΈ 210.1K
Dart 3 compatible
Maintenance Status: Poor

Library providing an adaptive number implementation. On JS runtimes, a 64-bit signed fixed-width integer will be used and for all other platforms the default Dart int data type.

matrix4_transform
πŸ‘ 171   β¬‡οΈ 39.7K
Dart 3 compatible
Maintenance Status: Good

A helper math class for easily creating Matrix4 transformations, which you can use in the Container's transform parameter and elsewhere.

diffutil_dart
πŸ‘ 85   β¬‡οΈ 103.1K
Dart 3 compatible
Maintenance Status: Average

Calculate the difference between two lists as list of edit operations. Used for example for implicitly animating Flutter lists without having to maintain a StatefulWidget.

hex
πŸ‘ 37   β¬‡οΈ 122K
Dart 3 compatible
Maintenance Status: Poor

Easy hexadecimal convertion using dart:convert API.

polylabel
πŸ‘ 9   β¬‡οΈ 141.1K
Dart 3 compatible
Maintenance Status: Poor

A fast algorithm for finding polygon pole of inaccessibility implemented as a Dart library. Useful for optimal placement of a text label on a polygon.

crclib
πŸ‘ 14   β¬‡οΈ 110.2K
Dart 3 compatible
Maintenance Status: Poor

Collection of cyclic redundancy check (CRC) routines as Dart converters.

dart_earcut
πŸ‘ 6   β¬‡οΈ 100.3K
Dart 3 compatible
Maintenance Status: Good

Performant triangulation algorithm based on https://github.com/mapbox/earcut

scidart
πŸ‘ 120   β¬‡οΈ 5.2K
Dart 3 compatible
Maintenance Status: Poor

Cross-platform scientific library for Dart. The main goal of SciDart is run where Dart can run, in other words, run on Flutter, Dart CLI, Dart web, etc.

flutter_simple_calculator Card Image
flutter_simple_calculator
πŸ‘ 113   β¬‡οΈ 2.1K
Dart 3 compatible
Maintenance Status: Good

Flutter widget that provides simple calculator. You can easily integrate a calculator to your apps.

ml_linalg Card Image
ml_linalg
πŸ‘ 76   β¬‡οΈ 30.8K
Dart 3 compatible
Maintenance Status: Good

SIMD-based linear algebra and statistics, efficient manipulation with numeric data

converter
πŸ‘ 20   β¬‡οΈ 65.4K
Dart 3 compatible
Maintenance Status: Average

A Dart library for converting between different units of measurement for various quantities

expressions
πŸ‘ 90   β¬‡οΈ 1.4K
Dart 3 compatible
Maintenance Status: Good

A library to parse and evaluate simple dart and javascript like expressions.

invertible
πŸ‘ 3   β¬‡οΈ 67.6K
Dart 3 compatible
Maintenance Status: Poor

A Dart library for defining invertible functions and their compositions

equations Card Image
equations
πŸ‘ 82   β¬‡οΈ 1.4K
Dart 3 compatible
Maintenance Status: Average

An equation-solving library that also works with complex numbers and fractions.

numerus
πŸ‘ 16   β¬‡οΈ 53.5K
Dart 3 compatible
Maintenance Status: Good

Dart extensions for translating integers to Roman numerals and Roman numeral strings to integers.

function_tree
πŸ‘ 74   β¬‡οΈ 4.4K
Dart 3 compatible
Maintenance Status: Average

A simple library for parsing strings into callable function-trees.

fraction Card Image
fraction
πŸ‘ 61   β¬‡οΈ 14.1K
Dart 3 compatible
Maintenance Status: Good

A package that helps you work with fractions and mixed fractions.

matrix2d
πŸ‘ 41   β¬‡οΈ 29.7K
Dart 3 compatible
Maintenance Status: Poor

Matrix 2D is a package for mathematical 2D array functions and manipulations in Dart, similar to NumPy

trotter
πŸ‘ 64   β¬‡οΈ 2.5K
Dart 3 compatible
Maintenance Status: Average

Class definitions for pseudo-lists that simplify working with structures commonly encountered in combinatorics such as permutations, combinations and subsets.

units_converter
πŸ‘ 61   β¬‡οΈ 2.7K
Dart 3 compatible
Maintenance Status: Good

Simple and light units conversion package for all your needs.

google_maps_utils
πŸ‘ 60   β¬‡οΈ 7
Dart 3 compatible
Maintenance Status: Average

Initial version comes with the 3 main Classes. SphericalUtils, MathUtils and PolyUtils, calculating bounds, distances headings and many more.

fixed
πŸ‘ 7   β¬‡οΈ 43.7K
Dart 3 compatible
Maintenance Status: Good

Fixed scale decimal numbers with mathematical operations, formatting and parsing.

bezier
πŸ‘ 54   β¬‡οΈ 2.1K
Dart 3 compatible
Maintenance Status: Poor

A 2D BΓ©zier curve math library.

fftea
πŸ‘ 50   β¬‡οΈ 289
Dart 3 compatible
Maintenance Status: Good

Fast Fourier Transform (FFT) library that can handle inputs of any size. Includes related tools such as STFT and convolution.

rbush
πŸ‘ 9   β¬‡οΈ 29.8K
Dart 3 compatible
Maintenance Status: Average

RBush β€” a high-performance R-tree-based 2D spatial index for points and rectangles.

big_decimal
πŸ‘ 17   β¬‡οΈ 21.5K
Dart 3 compatible
Maintenance Status: Average

A bugless implementation of BigDecimal in Dart based on Java's BigDecimal

adhan_dart
πŸ‘ 40   β¬‡οΈ 295
Dart 3 compatible
Maintenance Status: Good

Library to calculate prayer times for muslims. Based on precise astronomical formula.

statistics
πŸ‘ 26   β¬‡οΈ 11.1K
Dart 3 compatible
Maintenance Status: Good

Statistics package for easy and efficient data manipulation with built-in Bayesian Network (Bayes Net), many mathematical functions and tools.

rnd
πŸ‘ 31   β¬‡οΈ 5.8K
Dart 3 compatible
Maintenance Status: Poor

Extension methods & helpers for Random, and a globally accessible instance. Ex. rnd(10), rnd.getItem(list), rnd.getBit(0.8).

sweepline_intersections
πŸ‘ 6   β¬‡οΈ 26.2K
Dart 3 compatible
Maintenance Status: Good

A small and fast module using a sweepline algorithm to detect intersections between polygons and/or polylines.

data
πŸ‘ 14   β¬‡οΈ 19.1K
Dart 3 compatible
Maintenance Status: Good

A time and space efficient collection of data structures and algorithms to deal with data in Dart.

dart_jts
πŸ‘ 29   β¬‡οΈ 4.5K
Dart 3 compatible
Maintenance Status: Average

An ongoing effort to port the Java Topology Suite to the dart programming language and make it available to its mobile, dektop and web environments.

stats
πŸ‘ 31   β¬‡οΈ 2.3K
Dart 3 compatible
Maintenance Status: Average

Calculate common statistical values for a set of numbers: max, min, mean, median, standard deviation, and standard error.

superdeclarative_geometry
πŸ‘ 33   β¬‡οΈ 91
Dart 3 compatible
Maintenance Status: Poor

First-class support for angles, polar coordinates, and more.

turf_pip
πŸ‘ 1   β¬‡οΈ 26.2K
Dart 3 compatible
Maintenance Status: Good

A small library for detecting if a point lies inside a polygon

binary
πŸ‘ 23   β¬‡οΈ 7.1K
Dart 3 compatible
Maintenance Status: Good

Utilities for accessing binary data and bit manipulation in Dart.

compute
πŸ‘ 22   β¬‡οΈ 6.8K
Dart 3 compatible
Maintenance Status: Poor

Flutter's compute function made available for all non-Flutter Dart programs

power_extensions
πŸ‘ 0   β¬‡οΈ 25K
Dart 3 compatible
Maintenance Status: Good

Extensions for the core dart language classes.

packages_extensions
πŸ‘ 0   β¬‡οΈ 24.1K
Dart 3 compatible
Maintenance Status: Good

Extensions for non Dart core packages.

mod97
πŸ‘ 0   β¬‡οΈ 23.8K
Dart 3 compatible
Maintenance Status: Poor

Calculate the modulo 97.

advance_math
πŸ‘ 28   β¬‡οΈ 220
Dart 3 compatible
Maintenance Status: Good

A robust Dart library for comprehensive mathematical programming. Offers complex numbers, algebra, statistics, angles, and geometry for diverse computations.

chance_dart
πŸ‘ 28   β¬‡οΈ 28
Dart 3 compatible
Maintenance Status: Poor

Chance Dart is a free Open Source project that lets you create random strings, integers, and other things to help with tiresome tasks, especially when building automated tests.

num_utilities
πŸ‘ 1   β¬‡οΈ 22.5K
Dart 3 compatible
Maintenance Status: Poor

A collection of extension methods for nums, ints, and doubles; and iterables of nums, ints, and doubles.

expression_language
πŸ‘ 27   β¬‡οΈ 158
Dart 3 compatible
Maintenance Status: Poor

Library for parsing and evaluating simple expression language with additional references

eval_ex
πŸ‘ 25   β¬‡οΈ 1.7K
Dart 3 compatible
Maintenance Status: Good

A mathematical and boolean expression evaluator, ported from https://github.com/uklimaschewski/EvalEx.

money_converter
πŸ‘ 26   β¬‡οΈ 102
Dart 3 compatible
Maintenance Status: Poor

A New Flutter Plugin for Converting the Currencies Dynamic and contain multi currency very easy to use.

currency_type
πŸ‘ 25   β¬‡οΈ 23
Dart 3 compatible
Maintenance Status: Poor

Currency type for Dart and Flutter, a large numeric type, with exactly four digit after the decimal point, appropriate for financial calculations.

angles
πŸ‘ 20   β¬‡οΈ 4K
Dart 3 compatible
Maintenance Status: Poor

Utility library for handling angles in radians, degrees and turns.

n_dimensional_array
πŸ‘ 22   β¬‡οΈ 41
Dart 3 compatible
Maintenance Status: Good

Allows for the creation and easy manipulation of n-dimensional arrays in Flutter.

point_in_polygon
πŸ‘ 20   β¬‡οΈ 1.6K
Dart 3 compatible
Maintenance Status: Poor

A new Flutter package project.

a_star_algorithm
πŸ‘ 20   β¬‡οΈ 1.2K
Dart 3 compatible
Maintenance Status: Good

Package that uses the A * algorithm to find a way to the destination through the barriers.

algorithmic
πŸ‘ 21   β¬‡οΈ 265
Dart 3 compatible
Maintenance Status: Poor

A collection of useful algorithms keeping performance and flexibility on mind.

darwin
πŸ‘ 20   β¬‡οΈ 29
Dart 3 compatible
Maintenance Status: Poor

A genetic/evolutionary algorithm library for Dart.

astronomical_measurements
πŸ‘ 5   β¬‡οΈ 21
Dart 3 compatible
Maintenance Status: Good

The library for keeping and converting astronomical measurements. Feel free to use it in your awesome projects.

debt_simplification
πŸ‘ 3   β¬‡οΈ 26
Dart 3 compatible
Maintenance Status: Good

A Dart function for simplifying group debt settlements, similar to 'Quick Split'.

atmospeed
πŸ‘ 0   β¬‡οΈ 23
Dart 3 compatible
Maintenance Status: Poor

Calculate standard and non-standard atmosphere properties and speed conversions. Uses 1976 US Standard Atmosphere definitions.

finance_quote
πŸ‘ 30   β¬‡οΈ 32

Maintenance Status: Poor

A multi-platform API to retrieve quote information and prices for stocks (e.g. Amazon, Google), commodities (e.g. Gold, Oil) and crypto-currencies (e.g. Bitcoin, Ethereum).

poly
πŸ‘ 29   β¬‡οΈ 4

Maintenance Status: Poor

A library for checking if given point(s) is present inside Polygon or not.

extended_math
πŸ‘ 25   β¬‡οΈ 43

Maintenance Status: Poor

Library that add functionality of all maths sections that don't exist in dart:math.