Skip to main content

nativemind_core 1.5.0 copy "nativemind_core: ^1.5.0" to clipboard
nativemind_core: ^1.5.0 copied to clipboard

The light base of the NativeMind widgets: design tokens, theme, editions from configuration, primitives, PIN keypad, navigation, charts, l10n and icons. No plugins.

example/example.dart

// A themed app from an edition (configuration) with the handmade wide action button and a success dialog.
// written by Claude Code (generated by Claude Code), 2026-11-16; pub.dev example (pana "Package has an example")
import 'package:flutter/material.dart';
import 'package:nativemind_core/nativemind_core.dart';

// written by Claude Code (generated by Claude Code), 2026-11-16; pub.dev example (pana "Package has an example")
void main() {
  // An app usually calls current() and selects the edition with --dart-define=NM_EDITION=net.example.blue.
  final edition = const NmConfigs({
    'android/net.example.blue': {'title': 'Example', 'palette': 'blue'},
  }).current(id: 'net.example.blue');
  runApp(
    MaterialApp(
      theme: edition.theme.toThemeData(Brightness.light),
      localizationsDelegates: const [NmL10n.delegate],
      home: Scaffold(
        body: Center(child: NmWideActionButtonNoIcon(() => nmSuccessDialog('Saved'), 'Save')),
      ),
    ),
  );
}
0
likes
0
points
510
downloads

Publisher

verified publisherframework.nativemind.net

Weekly Downloads

The light base of the NativeMind widgets: design tokens, theme, editions from configuration, primitives, PIN keypad, navigation, charts, l10n and icons. No plugins.

Repository (GitLab)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_localizations, flutter_svg, intl

More

Packages that depend on nativemind_core