duskmoon_ui 1.0.2
duskmoon_ui: ^1.0.2 copied to clipboard
DuskMoon UI — umbrella package re-exporting all DuskMoon Flutter packages
duskmoon_ui #
Umbrella package for the DuskMoon Design System. Re-exports all core packages in a single import.
Installation #
flutter pub add duskmoon_ui
Usage #
import 'package:duskmoon_ui/duskmoon_ui.dart';
// Access everything: theme, widgets, settings, feedback
MaterialApp(
theme: DmThemeData.sunshine(),
darkTheme: DmThemeData.moonlight(),
home: Scaffold(
appBar: const DmAppBar(title: Text('My App')),
body: DmButton(
onPressed: () => showDmSuccessToast(
context: context,
message: 'Hello DuskMoon!',
),
child: const Text('Tap me'),
),
),
);
Included Packages #
| Package | Description |
|---|---|
duskmoon_theme |
Codegen-driven theme with color schemes and extensions |
duskmoon_widgets |
18 adaptive Material/Cupertino widgets |
duskmoon_settings |
Settings UI with 3 platform renderers |
duskmoon_feedback |
Dialogs, snackbars, toasts, bottom sheets |
Note:
duskmoon_theme_blocis intentionally excluded — add it separately if you use BLoC for theme persistence.
License #
MIT