flutter_empty_state 0.1.0
flutter_empty_state: ^0.1.0 copied to clipboard
Lightweight, theme-aware empty, error, no-internet, search-empty and loading state widgets for Flutter. Customizable and dependency-free.
Changelog #
0.1.0 #
First release.
EmptyState,ErrorState,NoInternetState,SearchEmptyStateandLoadingState.StateView+ViewStateto switch between loading / empty / error / offline / content from a single value, with a cross-fade between states.EmptyStateTheme(aThemeExtension) to set your defaults once for the whole app. Resolution order is explicit argument → theme → built-in default.- Theme-aware defaults with full light & dark support.
- Subtle fade + slide entrance animation that honours the OS "reduce motion" setting; fully opt-out.
SkeletonList, plusShimmerandSkeletonprimitives, for a shimmer-based loading placeholder.- Accessibility: real text widgets, decorative icons, and a live region on the loading state.
- Everything is overridable: icon, custom illustration, title, message, action button, icon size, spacing, padding, max content width, text alignment, and the text / button styles.
debugFillPropertieson every widget for a friendlier DevTools inspector.- No runtime dependencies.
