Skip to main content

ckcoreui 0.7.0 copy "ckcoreui: ^0.7.0" to clipboard
ckcoreui: ^0.7.0 copied to clipboard

A Flutter design system package providing reusable UI components, design tokens, and multi-brand themes (CastleKeep & SkyGo).

0.7.0 #

Added #

  • BrandLogos and ckcoreThemeData.logos: each brand theme now declares its own logo assets (master, symbol, name, nav). BrandIcon.brandLogoWidget, CKSideNav and CKDrawer read them from the theme instead of switching on the brand, so adding a brand no longer requires editing those widgets. logos is optional and defaults to BrandLogos.none, which renders the brand's initial.

Fixed #

  • CKSideNav: the profile menu could throw if dismissed twice and stayed on screen if the nav was removed while it was open. It now closes through one method and in dispose.
  • bin/ckgoc.dart (add brand) no longer ends by telling you to re-run the same command, and generated themes now set logos: BrandLogos.none.

0.6.0 #

Added #

  • CKAnimate and CKAnimation: token-driven entrance animations (fade, slide, scale) with delay, trigger replay, CKAnimate.stagger and reduced-motion support.
  • ButtonHoverStyle and CKButton.hoverStyle: on hover a button floats up with a soft shadow (lift, the default), grows (grow) or stays still (none).
  • CKErrorState.icon and CKErrorState.retryLabel.
  • AI tooling: a Claude Code skill and a Copilot instructions file in skills/, and the @ckcore/ui-mcp server (mcp/, versioned and published to npm separately; first release 0.1.0).
  • A test suite for the library: theme-matrix smoke tests for every component plus behaviour tests for buttons, inputs, display, feedback, navigation, overlays, the data table, theme and tokens, text extensions and CKApp.

Changed #

  • Updated lucide_icons_flutter to ^4.0.1 so all dependencies are on their latest versions.
  • CKButton polish: pressing scales the button down and springs it back, labels use the type tokens for each size, and corners are slightly softer. Hover and press motion is skipped for disabled or loading buttons and when the platform asks for reduced motion.
  • Implemented the widgets that used to build to an empty box: CKDivider, CKListTile, CKSkeleton, CKEmptyState, CKErrorState, CKTimePicker, CKBreadcrumb, CKNavigationRail, CKTooltip and CKPopover.

Removed #

  • Breaking: the screen templates LoginTemplate, RegisterTemplate, ForgotPasswordTemplate, ListTemplate, CreateTemplate, EditTemplate, DetailTemplate, DashboardTemplate, LoadingTemplate, ErrorTemplate, EmptyTemplate and OfflineTemplate. They were unimplemented stubs that rendered nothing. CKScreenLayout is unchanged.

Fixed #

  • CKButton could be tapped repeatedly while loading: true (double submit); taps are now blocked while loading.
  • A full-width CKButton overflowed on long labels, for example the default "Yes, Delete Permanently" in CKDialog.destructive; the label now wraps.
  • CKNavigationRail items were announced twice by screen readers.
  • CKSnackbar at the top was squashed to a few pixels (so it looked missing) whenever its Scaffold was shorter than the window, for example under a header or with a bottom bar. It now floats above everything in the app (headers, side navigation, page) in the root overlay, full width by default (pass width to make it narrower and centered), with a slide-in, auto-dismiss, onDismiss support and CKSnackbar.hide(). The bottom position is unchanged.

0.5.0 #

Added #

  • CKEditableCell class for editable data table cells supporting multiple input types (text field, dropdown, checkbox, switch, date picker).
  • Date range selection support in date picker with improved UI.
  • New logo assets for enhanced branding options.

Changed #

  • Enhanced CKDataTable with editable cell support and improved validation error handling.
  • Improved CKTextField with controlled value input and better focus handling.
  • Limited CKDropdown menu height for improved usability.
  • Adjusted footer page size options in data table.

0.4.3 #

Added #

  • Constraints parameters in CKContainer for enhanced layout control.
  • pageSize selector in CKDataTable for dynamic page size selection.
  • Filtering support in CKDataTable for improved data interaction.
  • isRequired parameter support in CKTextField and CKDropdown.

Fixed #

  • Fixed CKSideNav collapse behavior.
  • Fixed overflow exception in CKSideNav.
  • Removed redundant readOnly parameters on input fields.
  • Improved minor layout issues and documentation updates.

0.4.2 #

Fixed #

  • Improved CKSideNav selection by adding optional key-based navigation support.
  • Fixed CKCard trailing alignment and layout behavior.
  • Improved validation behavior for CKDropdown and CKRadio.
  • Refined CKAccordion spacing and styling consistency.
  • Improved CKTimeline dot sizing and custom icon rendering.

Internal #

  • Added TODO for future CKLoadingState enhancements.

0.4.1 #

Changed #

  • Improved Material theme injection for better visual consistency.
  • Updated Material widget theming for Checkbox, Radio, Switch, TextField, Dialog, ProgressIndicator, Slider, and related components.
  • Added Material widget examples alongside CKCoreUI components for easier comparison in the documentation.

Fixed #

  • Fixed inconsistent default colors in Material widgets.
  • Improved InputDecorationTheme defaults for outlined text fields.

0.4.0 #

Added #

  • Expanded theme customization options.
  • Added migration guide for upgrading from 0.3.x.

Changed #

  • Improved accessibility and keyboard navigation.
  • Improved component documentation and examples.
  • Refined typography, spacing, and theme performance.
  • Standardized component APIs for consistency.

Fixed #

  • Fixed overlay stability (CKAlert, CKToast, CKDialog).
  • Improved responsive data tables.
  • Fixed form validation edge cases.
  • Improved theme consistency across light and dark modes.

0.3.1 #

Updated documentation

0.3.0 #

Changed:

  • Renamed package from ckgoc_core to ckcoreui. Deprecated aliases are preserved for backward compatibility.
  • Refactored theme structure: introduced CKCoreThemeData, CKCoreTheme, and new brand management enums. Removed CkgocTheme and CkgocThemeData (deprecated aliases still available).
  • Updated bin/ckgoc.dart CLI, README, LICENSE, and all internal references to use the new package name.

Added:

  • Semantic heading extension getters .h1–.h6 on Text, mapping to display2xl, displayXl, displayLg, displayMd, displaySm, and textXl typography tokens.
  • Significantly expanded Flutter docs app: new ScreenLayoutPage and RouterPage using DocSection/ComponentDocData pattern; updated OverviewPage with CKApp theme-injection guide; updated FoundationPage with heading-shorthand showcase.
  • CKApp.router documentation explaining theme-context injection for descendants.

Fixed:

  • Layout exceptions (RenderDecoratedBox/_RenderInkFeatures given infinite size) in CKCard, CKAlert, and CKToast when placed in unbounded-width parents (e.g. Wrap).
  • CKCard horizontal layout: replaced Expanded with Flexible and added mainAxisSize: MainAxisSize.min to prevent infinite-width propagation.

0.2.1 #

Added:

  • Flutter documentation app for browsing ckcoreui components and usage examples.
  • ckcoreNumberStepper input component and expanded ckcoreDropdown support.

Changed:

  • Migrated icon usage from lucide_icons to lucide_icons_flutter.
  • Expanded example and quick-start documentation for the updated input components.

0.2.0 #

Added:

  • Brand scaffolding CLI via bin/ckcoreui.dart for generating brand configuration and setup artifacts.
  • Data table sorting support, including updated table behavior and documentation.
  • Bundled Inter font assets and brand logo assets for CastleKeep and SkyGo.

Changed:

  • Expanded public API and getting-started documentation, including brand scaffolding, data table usage, installation, and quick guide updates.
  • Updated README and package configuration to support the new CLI/assets release.

0.1.1 #

Fixed:

  • Updated GitHub repository and homepage URLs.
  • Updated installation instructions to use the published package from pub.dev.
  • Replaced outdated showcase/ references with example/.
  • Improved README and package documentation.
  • Minor documentation and metadata improvements.

0.1.0 #

  • Release: initial package published as 0.1.0.

Highlights:

  • Add multi-brand design system with CastleKeep and SkyGo themes.
  • Provide design tokens: colors, typography, spacing, radius, elevation, motion.
  • Core components: buttons, inputs, cards, overlays, navigation, tables.
  • Templates for common screens: auth, CRUD, dashboard, states.
  • showcase/ app demonstrating component usage and integration.

See doc/ for usage guides and API notes.

0.0.1 #

  • Initial public release (historical entry)
0
likes
150
points
588
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter design system package providing reusable UI components, design tokens, and multi-brand themes (CastleKeep & SkyGo).

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_svg, lucide_icons_flutter

More

Packages that depend on ckcoreui