customtoastshow 0.0.5 customtoastshow: ^0.0.5 copied to clipboard
To be able to show custom toast easly.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add customtoastshow
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
customtoastshow: ^0.0.5
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:customtoastshow/resources/arrays.dart';
import 'package:customtoastshow/resources/colors.dart';
import 'package:customtoastshow/resources/constants.dart';
import 'package:customtoastshow/toasthandler.dart';
import 'package:customtoastshow/widgets/heart_beat_icon.dart';
import 'package:customtoastshow/widgets/motion_toast_background.dart';
import 'package:customtoastshow/widgets/motion_toast_content.dart';
import 'package:customtoastshow/widgets/motion_toast_icon.dart';
import 'package:customtoastshow/widgets/motion_toast_side_bar.dart';
import 'package:customtoastshow/widgets/seperator.dart';