kin_ui 1.2.0
kin_ui: ^1.2.0 copied to clipboard
A Native inspired Flutter design system. Tokens, primitives, components, adaptive shell, and templates out of the box.
Changelog #
1.2.0 #
New Components #
- KinRichEditor — Block-based rich text editor with inline formatting (bold, italic, underline, strikethrough), block-level controls (H1–H3, bullet/numbered lists, blockquote), text alignment, link insertion, undo/redo, clear formatting, and a scrollable toolbar
- KinAIGradient — Fluid animated AI gradient surface with 8 mood palettes (abyss, ember, flora, nebula, frost, solar, mycelium, iridescent), 5 animation styles (breathe, orbit, wave, shimmer, pulse), touch interaction with blob attraction and ripple effects, and haptic feedback
- KinAIOrb — Living AI orb that communicates state through motion and colour — 6 states: idle (breathing glow), listening (sonar rings with audio level), thinking (orbital dots), speaking (wave deformation), success (burst sparkles), error (shake), with haptic transitions
- KinRatingPicker — Star-based rating picker for dialogs
Enhancements #
- KinChart — Now supports 6 chart types (bar, line, area, donut, pie, horizontal bar), multi-series data, configurable grid lines & axis labels, interactive tooltips with indicator line/dot and dismiss overlay, and
IntrinsicHeightfix for Y-axis layout - KinSearchBar — Added size variants (small 40px, medium 48px, large 54px),
fillColor,borderColor,borderRadius,enabled,autofocus,showClearButton,elevation,keyboardType - KinDataTable — Rewritten with flex columns (
flex,minWidth), sticky header,maxHeightfor vertical scroll,emptyWidget, and haptic sort feedback - KinTimePicker — Added haptic tick feedback on scroll
Fixes #
- KinDialog — Fixed 2.9px overflow in landscape with conditional spacing before buttons
- KinDatePicker — Fixed 93px calendar overflow in landscape (cell height 30→26, tighter spacing)
- KinColorPicker — Fixed cancel button overflow in landscape (maxWidth 520→560)
- KinAIGradient — Fixed
RenderFlexcrash when used in unconstrained contexts (Row, circle shapes) by reordering build: SizedBox before LayoutBuilder, finite fallback for infinite constraints
1.1.0 #
New Components #
- KinTimePicker — Scroll-wheel time picker dialog with 12/24-hour format, flat scroll columns, and ShaderMask edge fading
- KinPhotoPicker — Dialog-style expandable photo grid picker with compact/expanded drag gesture
- KinImagePicker — Native-style bottom-sheet source selector (camera / gallery)
- KinSnackbar — Overlay snackbar with
standard,success,warning,errorvariants, action button, and swipe dismiss - KinDrawer — Push-body drawer with scale + radius animation, dashed divider, and
KinDrawerController - KinPopupMenu — Contextual popup menu with frosted glass dark mode and divider support
- KinFloatingButton — Themed FAB with size/variant options and
.extended()constructor - KinCarousel — Auto-playing page carousel with
fullBleed,card,stackedvariants and dot/dash indicators - KinStepper — Multi-step indicator with
horizontal/verticallayout andnumbered/dot/progressvariants - KinPageView — Page view with
slide,fade,parallax,stacktransitions and dot/dash/numbered indicators - KinDataTable — Themed data table with column sorting, row selection, alternating row tint, and horizontal scroll
- KinChart — CustomPaint chart with
bar,line,pietypes, labels, values, and entry-level color - KinAccessibility — Subtree wrapper for colour-blindness simulation, greyscale, high contrast, reduced motion, and text scaling
Improvements #
- All picker dialogs (color, date, time, photo) now anchor to
Alignment.bottomCenternear the system navigation bar KinDialogpositioned closer to the bottom for consistency with picker dialogsKinTimePickeruses flat scroll columns (diameterRatio: 100) instead of iOS-style curved perspectiveKinTimePickerfade effect usesShaderMask+BlendMode.dstIn— works flawlessly on frosted glass backgrounds in dark mode- AM/PM column is now a scrollable wheel (same style as hours/minutes) instead of static chip buttons
KinDrawerheader text resolves to white viaKinThemeoverride soKinTextchildren are always visible on the dark drawer backgroundKinDrawerdashed divider extends further withKinSpacing.mdright padding
1.0.1 #
- Use OSI-approved MIT license
- Add documentation comments to all public API classes and enums
- Fix missing assets directory
1.0.0 #
- Initial stable release
- Token system:
KinSpacing,KinRadius,KinMotion,KinTypography KinTheme— 8-colorThemeExtensionwithcopyWithandlerpKinLayout— responsive breakpoints (compact / medium / expanded)KinApp— layout injection and bouncing scroll physics- Primitives:
KinPress,KinSurface,KinText - Components:
KinButton,KinCard,KinChip,KinToggle,KinTextField,KinSearchBar,KinSheet,KinDialog,KinSegmentedControl,KinExpansionCard,KinSlider,KinToast,KinSkeleton,KinProgress,KinBadge,KinColorPicker,KinDatePicker,KinPullToRefresh - Shell:
KinScaffold,KinTopBar,KinNavDrawer,KinNavRail,KinBottomBar,KinListTile - Templates:
KinFeedTemplate,KinDetailTemplate,KinSettingsTemplate,KinDashboardTemplate - SHA-256 gated author presets via
KinConfig