miniui library

Classes

AnimatedMiniTheme
BaseComponent
Base class for all components, exposing a shared themeOf helper.
MiniAppBar
Top app bar with optional leading widget, centered title and trailing actions.
MiniAvatar
Avatar component that shows an image, or generates a circular avatar from the first letter of text.
MiniBackButton
MiniBadge
Badge component that can be overlaid on the top-right of a child widget, supporting numeric badges and dot badges.
MiniBanner
MiniBottomNavItem
MiniBottomNavScaffold
MiniBottomSheet
Generic bottom sheet container used to present arbitrary content from the bottom of the screen.
MiniButton
Core button component that supports three visual styles and disabled state.
MiniButtonColors
Helper container for button background / foreground / border colors.
MiniCard
Card container used to wrap content and apply a consistent card style.
MiniCarousel
MiniCheckbox
Checkbox component with optional label and disabled state, following theme colors.
MiniColorTokens
Semantic color tokens used to represent primary/background/foreground colors.
MiniComponentSizeTokens
MiniDatePicker
Date picker input that opens a bottom sheet and returns a selected date.
MiniDialog
Simple confirmation dialog with optional title, message, confirm and cancel buttons.
MiniDivider
Thin divider used between list items.
MiniEmpty
Empty-state component used when there is no data to show.
MiniGrid
MiniGridItem
MiniImage
Image widget with configurable corner radius and sizing.
MiniInput
Basic text input component with placeholder and keyboard type support.
MiniListItem
List item component with optional leading icon, title, subtitle and trailing widget.
MiniLoading
Spinning ring loading indicator rendered with a custom painter.
MiniLoadingOverlay
Full-screen loading overlay implemented with Overlay.
MiniLocalizations
MiniPageScaffold
Page-level scaffold that handles safe areas, top app bar and bottom bar.
MiniPullToRefresh
MiniRadiusTokens
Corner radius tokens used to unify corner styles across components.
MiniResult
MiniSearchBar
Search bar with pill-shaped background, placeholder and clear button.
MiniSectionHeader
MiniSegment<T>
Configuration for a single segment (value + display label).
MiniSegmentedControl<T>
Segmented control widget, suitable for switching between a small number of discrete options.
MiniSizePreset
MiniSkeleton
Skeleton placeholder used while data is loading.
MiniSlider
MiniSnackbar
Snackbar component shown near the bottom of the screen, with an optional action button.
MiniSpacingTokens
Semantic spacing tokens from xs to xl, used to drive layout spacing.
MiniStepper
Numeric stepper that changes an integer value via + / - buttons.
MiniSwitch
Switch component that toggles between on/off states with animation and disabled support.
MiniTabBar
Tab bar that shows a list of equally divided navigation items at the top or bottom of the screen.
MiniTabItem
Configuration for a single tab item (label + optional icon).
MiniTabView
MiniTag
Tag component to display status text, supporting filled/outlined and optional close button styles.
MiniText
Text wrapper that automatically applies theme typography and foreground color.
MiniTextArea
MiniTheme
Aggregates color / spacing / radius / typography / component-size tokens into a complete theme.
MiniThemeController
Theme controller that stores the current MiniTheme and notifies listeners when it changes.
MiniThemeProvider
InheritedWidget that injects MiniTheme into the widget tree.
MiniThemes
Built-in theme factory: bundles default spacing/radius/typography and several color palettes.
MiniThemeTween
MiniToast
Lightweight bottom toast component.
MiniTypographyTokens
Typography tokens used to unify text sizes and weights.

Enums

MiniBannerVariant
MiniButtonVariant
Button variants: primary / ghost / danger.
MiniResultStatus
MiniSkeletonShape
Skeleton shapes supported by MiniSkeleton (rectangular or circular).
MiniTagTone

Functions

miniShowOverlayEntry({required OverlayState overlay, required Duration duration, required WidgetBuilder builder}) Future<void>