nativemind_core

The light base of the NativeMind widgets:

  • theme, tokens and primitives;
  • editions from configuration (NmConfigs: one edition map sets palette, texts and features);
  • the handmade DealApp button family and dialogs of Eugene Tretiakov, and the PIN keypad on Andrey Bekhtold's model (who wrote what: PROVENANCE.md);
  • composites, tables, navigation and charts;
  • localization infrastructure;
  • the icon API with the essential Fugue icons.

It has no plugins and ships about 0.9 MB of assets. nativemind_copilot builds on it.

  • Need every Fugue icon? Add nativemind_icons_fugue.
  • Need more than English, Russian, Thai, Hindi and Chinese? Add nativemind_translations and call NmTranslations.install().
  • Eugene's dialogs (nmErrorDialog … nmYesNoDialogDelayed, since 1.2.0) speak the app's language when the app adds NmL10n.delegate to localizationsDelegates (Russian without it, as written); NmDialogOptions.shape / NmDialogOptions.enterSubmits set the dialog shape and Enter-to-submit app-wide. The buttons have a click cursor and a hover / pressed state.
  • Strings from JSON files at run time: NmLocalizationService (Wishyut; since 1.1.0) — await NmLocalizationService.load(locale, package: 'my_package'), then NmLocalizationService.to('key').
  • Need everything (the domain widgets, flags, persistence on shared_preferences)? Use nativemind_widgets; it re-exports this package.

Upgrading from 0.1.x: doc/migration-1.0.md.

Libraries

nativemind_core
The light base of the NativeMind widgets: theme, tokens, icons (API + essential Fugue icons), localization infrastructure, app wiring, primitives, composites, navigation, charts, input, panels. No plugins.