mini_ui_flutter 1.0.0
mini_ui_flutter: ^1.0.0 copied to clipboard
UI component library for Flutter inspired by shadcn/ui. 12+ accessible components with full theme system. Copy/paste philosophy with upcoming CLI to add only what you need.
1.0.0 #
Initial release.
Theme system #
MinThemeInheritedWidget withMinThemeData- Color tokens based on shadcn/ui (zinc, zincDark, slate, slateDark palettes)
- Typography, spacing, radius, shadows, and motion scales
context.themeextension for easy access
Components #
MinButton— primary/secondary/outline/ghost variants, sm/md/lg sizes, loading state, borderRadiusMinButtonGroup<T>— generic controlled group with arrow key navigation, Enter/Space activationMinCard— theme-aware card with padding, margin, background, border, shadowMinSelect<T>— typed selection with searchable, sections, leading/trailing, keyboard navigationMinDatePicker— month grid calendar, "Hoy" and "Meses" toggle, full SemanticsMinInput— text/email/password/number/phone/url/multiline types, outline/filled/ghost/underline styles, leading/trailing, showCounter, error stateMinSwitch— toggle with sm/md/lg sizes, semanticLabelMinCheckbox— check with sm/md/lg sizes, custom icon/painter, semanticLabelMinAppBar— app bar with sm/md/lg sizes, leading/title/trailingMinScaffold— page layout with appBar, body, FAB, bottomBar, drawers, resizeToAvoidBottomInsetMinDrawer— start/end drawers with gestures, overlay, persistent mode, Escape to close, drawerLabel/endDrawerLabelMinPopover— floating anchored container with close on tap outside, Escape, scroll
Localization #
MinLocalizationsInheritedWidget withMinLocale- Built-in
MinLocale.es(Spanish) andMinLocale.en(English) context.minLocaleextension for easy access- Partial overrides via
overrides:parameter - All user-facing strings in
MinDatePicker,MinSelect, andMinDraweruse locale
Accessibility #
- Semantics on all interactive components
- Full keyboard navigation (Tab, Enter, Space, Escape, Arrow keys)
- MouseRegion with cursor changes on web/desktop
- Focus management with visible focus rings
semanticLabelparameters onMinButton,MinSwitch,MinCheckbox,MinInputdrawerLabel/endDrawerLabelonMinDrawer