Comments (2)
First you need to asign the instance of Awesome Dialog (note the cascade operator to retrive the dialog instance ):
var awesomeDialog = AwesomeDialog(context: context,
dialogType: DialogType.INFO,
animType: AnimType.BOTTOMSLIDE,
tittle: 'Dialog Title',
desc: 'Dialog description here',
dismissOnTouchOutside: false,
btnCancelOnPress: () {},
btnOkOnPress: () {})..show();
The you can dissimiss that instance any time you want, like this:
awesomeDialog.dissmiss();
The onDissmissCallback: is a function that will be executed after the dialog get dissmissed.
If you want more help ask mo problem.
from awesomedialogs.
Thank you Marcos 👍
from awesomedialogs.
Related Issues (20)
- Please update to the new dependency package。 HOT 3
- How to blur barrier background like ios HOT 4
- buttons paddings HOT 1
- set duration when the dialog Dismissed HOT 2
- Temporary remove QUESTION HOT 6
- please create dynamic close icon position
- Changing Header Icon Color HOT 1
- DialogTypes not showing on web releases HOT 2
- Null check operator used on a null value HOT 4
- Dependency change "Rive"
- AwesomeDialog conflict AnotherFlushbar
- Autohide being called after dialog has already been closed HOT 1
- When setting DialogType.noHeader, it is not in a centered state HOT 1
- [NDK] [Build Failed] A problem occurred configuring project ':rive_common'. HOT 1
- rive_common HOT 5
- awesome dialog don't show
- compiling (definition of implicit copy assignment operator for 'Mat2D' is deprecated because it has a user-declared copy constructor [-Werror,-Wdeprecated-copy]) for windows problem HOT 1
- Upgrade of awesome_dialog from 3.0.2 to 3.1.0 causes significant increase in Android release aab size and apk download size HOT 7
- direction from right to left
- size of buttons cannot be edited
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesomedialogs.