flutter_icon_snackbar 1.2.1 copy "flutter_icon_snackbar: ^1.2.1" to clipboard
flutter_icon_snackbar: ^1.2.1 copied to clipboard

Flutter icon snackbar | Animated snackbar with icons | Easier snackbar over native

flutter_icon_snackbar #

This widget is a simple snackbar of the flutter that contains animations and icons.

Flutter

Features #

Installation #

dependencies:
  flutter_icon_snackbar: ^<latest_version>
copied to clipboard

💪 Usage #

1. common usage #

Default type of icon_snackbar.

IconSnackBar.show(
    context: context, 
    snackBarType: SnackBarType.success, 
    label: 'Save successfully'
);
copied to clipboard

2. snackbar type #

Snackbar has many types, and you can set the types of Save, Fail, and Alert. and icon includes animation, and here are the icons that you can use.

IconSnackBar.show(context: context, snackBarType: SnackBarType.error, label: 'Save failed!');
copied to clipboard
IconSnackBar.show(context: context, snackBarType: SnackBarType.alert, label: 'Data required');
copied to clipboard

3. custom theme #

Also modify the theme of Snackbar. The theme contains the following data.

IconSnackBar.show(
    context: context, 
    snackBarType: SnackBarType.alert, 
    label: 'Data required',
    backgroundColor: Colors.red,
    iconColor: Colors.white,
);

copied to clipboard
24
likes
150
points
1.26k
downloads

Publisher

verified publishertyrannoapartment.com

Weekly Downloads

2024.08.26 - 2025.03.10

Flutter icon snackbar | Animated snackbar with icons | Easier snackbar over native

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter, icon_animated

More

Packages that depend on flutter_icon_snackbar