trial_package 0.0.1+3 trial_package: ^0.0.1+3 copied to clipboard
To be able to show a custom alert box easly.
Custom-Toast Box #
A new Flutter package.
Getting Started #
This Package is all about generating a toast box in your project.
Procedure #
-
Just Include the following dependency in your pubspecs.yaml file
dependencies: trial_package: ^0.0.1
-
Install the packages into your project by using the Android studio Terminal by writing the command
$ flutter pub get
-
Now Import it into your dart file where you want to create a Toast box
import 'package:trial_package/trial_package.dart';
-
Now You Free to use.
-
Just Include this code inside the onTap() Function
CustomAlertBox.showCustomAlertBox( context: context, willDisplayWidget: Container( child: Text('Text Of Your Wish'), ));