mervey_ui_kit 0.1.0 copy "mervey_ui_kit: ^0.1.0" to clipboard
mervey_ui_kit: ^0.1.0 copied to clipboard

Adaptive Material/Cupertino design system: theming tokens, semantic color palette and reusable widgets that pick the right backend per platform.

0.1.0 #

Initial release.

  • Requires Dart >= 3.6.0 and Flutter >= 3.27.0 (uses Color.withValues(alpha:)).
  • Adaptive Material/Cupertino theming entry point (AppTheme.light, AppTheme.dark) with optional palette, typography and icons overrides.
  • Semantic color palette (AppColorPalette) with .light() / .dark() factories and neutral Material defaults; brand overrides via named parameters. toColorScheme fills the Material 3 surface-container ramp, outline / outlineVariant and surfaceTint so M3 widgets stay aligned with the palette.
  • Cupertino theme builder (AppTheme.cupertinoTheme / cupertinoThemeOf) returns a fully populated CupertinoThemeData on every platform; wrapWithCupertino still gates installation to iOS.
  • Design tokens: AppSpacing, AppRadii, AppFonts, AppTextStyles, AppTypographyTokens, AppIconTokens. Font defaults are null → system fonts on every platform; no third-party fonts ship with the kit.
  • Components: AppButton, AppGlassButton, AppTextField, AppSearchField, AppCard, AppTappableCard, AppBottomSheet, AppDialog, AppNavbar, AppPill, AppPillTabs, AppScaffold, AppSnackBar, AppSwitch, AvatarInitials, BadgedIcon, IconActionButton, LoadingState, ErrorState, EmptyState, showInputDialog.
  • AppDialogAction exposes dismissOnPress so callers can keep the dialog open for validation / async work.
  • Context extensions: context.colors, context.typography, context.icons.
0
likes
150
points
124
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Adaptive Material/Cupertino design system: theming tokens, semantic color palette and reusable widgets that pick the right backend per platform.

Topics

#design-system #theming #material #cupertino #widget

License

MIT (license)

Dependencies

flutter

More

Packages that depend on mervey_ui_kit