auraa_ui 2.1.0
auraa_ui: ^2.1.0 copied to clipboard
UI Component Library Inspired by material-tailwind and shadcnui, NextUI , Chakra UI
2.1.0 — 2026-05-13 #
✨ New Components (18) #
| Component | Class | Description |
|---|---|---|
| Text Field | AuiTextField |
Outlined / filled / underlined input with label, hint, error, icons, char count, obscure toggle |
| Card | AuiCard |
Elevated card with header, footer, image slot, tap; .outlined, .flat variants |
| Badge | AuiBadge |
Count / dot overlay on any widget; 4 corner positions, 99+ clamp, .dot constructor |
| Chip | AuiChip |
Selectable / dismissable tag with avatar; .outlined, .soft variants |
| Progress | AuiProgress |
Linear + circular, determinate + indeterminate, animated, labeled; .linear, .circular constructors |
| Avatar | AuiAvatar |
Network image with initials fallback, badge slot, circle/square shape; .small, .large, .xl constructors |
| Skeleton | AuiSkeleton |
Left-to-right shimmer placeholder; .text, .circle, .rect presets |
| Alert | AuiAlert |
Persistent banner: info / success / warning / danger; dismiss button, action slot |
| Bottom Sheet | AuiBottomSheet |
Modal sheet with drag handle, title bar, snap height; AuiBottomSheet.show() |
| Switch | AuiSwitch |
Custom animated toggle; label, disabled, size scale, SwitchLabelPosition |
| Tooltip | AuiTooltip |
Hover/long-press tooltip wrapping any child; TooltipPosition |
| Dropdown | AuiDropdown |
Styled select matching AuiTextField; AuiDropdownItem model, .filled variant |
| Checkbox | AuiCheckbox |
Tristate checkbox with label; CheckboxLabelPosition |
| Radio Group | AuiRadioGroup |
Radio button group; AuiRadioOption model, RadioGroupDirection |
| Bottom Nav | AuiBottomNav |
Custom bottom navigation bar; badge support, indicator pill, AuiBottomNavItem model |
| Tab Bar | AuiTabBar |
Scrollable tabs; underline/pill indicator; AuiTab model, TabIndicatorStyle |
| Stepper | AuiStepper |
Horizontal/vertical step indicator; AuiStep model, AuiStepState, StepperDirection |
| Accordion | AuiAccordion |
Animated expand/collapse panels; single or multi-open; AuiAccordionItem model |
📐 Project conventions #
CONTRIBUTING.mdadded — folder layout, naming, theme-first rules, zero-deps rule, test + example requirements, PR checklist.
2.0.0 — 2026-05-12 #
This is a major release with breaking API changes. Please read the migration guide below before upgrading.
⚠️ Breaking Changes #
Carousel
AuraUICarouselnow takesList<CarouselItem>instead ofList<String> images. Migration:// Before AuraUICarousel(images: ['https://...'], pageController: ...) // After AuraUICarousel(items: [CarouselItem(imageUrl: 'https://...')], pageController: ...)AuraUICarouselTappableis removed. UseAuraUICarouselwithCarouselItem(onTap: ...)instead.CarouselItem.onTapis now nullable. Previously it was required; you can now omit it for non-interactive slides.
Dialog
AuiDialog.static(...)is renamed toAuiDialog.show(...). Migration:
The old// Before AuiDialog.static(context: context, title: 'Hello') // After AuiDialog.show(context: context, title: 'Hello').static(...)is removed. Update call sites to.show(...).
Toasts
-
Toast functions are replaced by the
AuiToastclass with static methods.Old New simpleToastMessage(...)AuiToast.simple(...)lightBackgroundToastMessage(...)AuiToast.light(...)iconMessage(...)AuiToast.withIcon(...)Old function names are removed. Update call sites to use
AuiToast. -
Parameter
textColourrenamed totextColorin all toast methods for consistency. -
widthanddurationare now configurable (defaults: 300px, 1200ms — unchanged behaviour).
✨ New Features #
AuraUIThemeThemeExtension — configure AuraUI defaults through Flutter's standard theming system:MaterialApp( theme: ThemeData( extensions: [AuraUITheme(buttonRadius: 12)], ), )AuiButton.borderRadiusnow works. TheBorderRadiusGeometryparameter was declared but never applied; it is now fully respected and takes priority overborderRadiusAll.AuiButtonshape resolution priority:borderRadius→borderRadiusAll→AuraUITheme→MyConstantfallback.AuiButtontext-type now also respectsshape/msShape.- Carousel auto-play timer is now properly cancelled on widget dispose (fixes memory leak).
- Network-image placeholder uses a valid 1×1 transparent PNG instead of an empty asset path.
🗑️ Removed #
AuiSimpleButton— useAuiButtoninstead.AuiLoadingButton— useAuiButtonwith aCircularProgressIndicatorchild instead.AuiIconButton— useAuiButtonwith anIcon+Textrow child instead.AuiDialog.static(...)— useAuiDialog.show(...)instead.simpleToastMessage(...)— useAuiToast.simple(...)instead.lightBackgroundToastMessage(...)— useAuiToast.light(...)instead.iconMessage(...)— useAuiToast.withIcon(...)instead.AuraUICarouselTappable— useAuraUICarouselwithCarouselItem(onTap: ...)instead.
🔧 Internal / Non-breaking #
- Dart SDK bumped to
>=3.5.0, Flutter to>=3.24.0. flutter_lintsbumped to^4.0.0._transparentPixelmoved to sharedcarousel_utils.dart.- Basic widget tests added for
AuiButton,AuraUICarousel,AuiDialog,SparklesText,AuraUITheme. - Static analysis: all missing type annotations fixed (was 40/50 → targeting 50/50).
1.0.8 #
Updated #
- Added Three Toasts Styles .
- fixed file name Convention
- withOpacity is replaced with withValue
- example app is updated with all the widgets
1.0.3 #
-Added Buttons in the Catalog
- AuiIconButton
- AuiLoadingButton
- AuiSimpleButton