top_snackbar_flutter 3.1.0 top_snackbar_flutter: ^3.1.0 copied to clipboard
Top snack bar package was created for nice and convenient way to inform users about what happened.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add top_snackbar_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
top_snackbar_flutter: ^3.1.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:top_snackbar_flutter/custom_snack_bar.dart';
import 'package:top_snackbar_flutter/safe_area_values.dart';
import 'package:top_snackbar_flutter/tap_bounce_container.dart';
import 'package:top_snackbar_flutter/top_snack_bar.dart';