error_aesthetics 0.1.0 copy "error_aesthetics: ^0.1.0" to clipboard
error_aesthetics: ^0.1.0 copied to clipboard

A customizable Flutter library for elegant error and status displays (SnackBar, Toast, Dialog) with full theming and light/dark support.

error_aesthetics #

A Flutter library for elegant error and status displays (SnackBar, Toast, Dialog) with full theming, light/dark support, and easy customization.

Features #

  • Display messages via SnackBar, Toast, or Dialog
  • Customize colors, icons, text style per ErrorType
  • Predefined types: general, warning, success, network, server, validation
  • Global init via ErrorAesthetics.init()
  • Custom dialog builder support
  • Light and dark themes
  • Ready for pub.dev (null safety, Flutter >=3.10)

Usage #

// In main.dart
ErrorAesthetics.init(
  theme: ErrorTheme.dark(),
  defaultOverlay: OverlayType.toast,
);

// Anywhere in UI
ErrorAesthetics.show(
  context,
  'Data saved successfully!',
  type: ErrorType.success,
);
2
likes
150
points
95
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable Flutter library for elegant error and status displays (SnackBar, Toast, Dialog) with full theming and light/dark support.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, fluttertoast

More

Packages that depend on error_aesthetics