flutter_toast_notification 1.1.1 copy "flutter_toast_notification: ^1.1.1" to clipboard
flutter_toast_notification: ^1.1.1 copied to clipboard

A simple and powerful Flutter package for displaying toast messages on all platforms (Android, iOS, Web, Desktop, macOS, Linux).

1.1.1 #

  • Fixes:
    • Removed library declaration (not necessary in Dart 2.0+)
    • Replaced deprecated withOpacity with withValues(alpha: ...) for better precision and to avoid deprecation warnings
    • Renamed lib/flutter_toast.dart to lib/flutter_toast_notification.dart to match package name (fixes pub.dev validation warning)

1.1.0 #

  • New Features:

    • Added textAlign parameter to customize text alignment (left, center, right, justify)
    • Added textStyle parameter for full TextStyle customization with all properties (fontSize, fontWeight, color, letterSpacing, height, decoration, shadows, etc.)
    • Added crossAxisAlignment parameter to vertically align content in toast (default: center)
    • Added width and height parameters to customize toast dimensions
    • Added horizontalAlignment parameter to position toast on left/right when using top/bottom/center positions
    • Added ToastStyleType.simple - Simple style with light background, no icon, no close button
  • Improvements:

    • Text in minimal style (and all styles) now vertically centered by default
    • Better text vertical alignment in Row layouts
    • Enhanced customization options for all toast styles

1.0.0 #

  • Initial release of flutter_toast_notification package
  • Support for all platforms: Android, iOS, Web, Desktop, macOS, Linux
  • Multiple toast types: Success, Error, Warning, Info, and Custom
  • Flexible positioning: Top, Bottom, Center, and corner positions
  • Predefined styles: Flat, Fill Colored, Flat Colored, and Minimal
  • Icon customization: Position, size, color, padding, and margin
  • Text customization: Font size, padding, margin, and responsive sizing
  • Custom colors: Background, text, and icon colors
  • Alert toast: Interactive alerts with titles, action buttons, and callbacks
  • Dialog toast: Dialog-style toasts with TextField input and buttons
  • Custom builder: Full control over toast widget design
  • Visibility control: Toggle icon and text visibility
  • Close button: Optional close button for minimal style toasts
  • Animation support: Smooth fade and slide animations
  • Duration control: Customizable toast display duration
12
likes
150
points
166
downloads

Publisher

unverified uploader

Weekly Downloads

A simple and powerful Flutter package for displaying toast messages on all platforms (Android, iOS, Web, Desktop, macOS, Linux).

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_toast_notification