flutter_snackbox 2.0.0 copy "flutter_snackbox: ^2.0.0" to clipboard
flutter_snackbox: ^2.0.0 copied to clipboard

show snackBar made easy, display snackBar without buildContext with pure dart code.

Flutter Snackbox #

  • show snackBar made easy, display snackBar without buildContext with pure dart code.

Installation #

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  flutter_snackbox:
  1. Import the package and use it in your Flutter App.
import 'package:flutter_approuter/flutter_snackbox.dart';
  1. Add snackbarKey in Material App for snackBar without BuiltContext
 MaterialApp(
   snackbarKey: snackbarKey,
   ...
 )

Supported Devices #

  • Android
  • IOS
  • Linux
  • Windows
  • Macos

Features #

  • ShowSnackBar without BuildContext
    • showSnackBar

Example #

    showSnackBar("<message>")

Contributions #

If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.

If you fixed a bug or implemented a feature, please send a pull request.

4
likes
150
pub points
0%
popularity

Publisher

unverified uploader

show snackBar made easy, display snackBar without buildContext with pure dart code.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_snackbox