Skip to main content

Add the dependency

pubspec.yaml

Apply the theme

Wrap your MaterialApp with BMoniTheme.darkTheme() (or lightTheme()) to inject the full design system — colours, typography, and component defaults — into the widget tree.
Both darkTheme() and lightTheme() return a fully configured ThemeData. You can pass the same value to MaterialApp.darkTheme / MaterialApp.theme to support system-level dark mode automatically:

Font registration

The Rethink Sans font is bundled inside the package. No extra pubspec.yaml fonts: block is needed in your app — Flutter’s pub package font injection takes care of it automatically.

Import

All tokens, enums, and components are exported from a single barrel:

Run the example

A full component gallery is in the example/ directory:
The gallery groups every widget by category and is themed with BMoniTheme.darkTheme().