This repository was archived by the owner on Nov 24, 2020. It is now read-only.
Added message text to constructor#79
Open
johnwargo wants to merge 1 commit intofayaz07:masterfrom
johnwargo:patch-1
Open
Added message text to constructor#79johnwargo wants to merge 1 commit intofayaz07:masterfrom johnwargo:patch-1
johnwargo wants to merge 1 commit intofayaz07:masterfrom
johnwargo:patch-1
Conversation
If I want to make a simple progress dialog with some text, I can't do that without creating, then styling the dialog (two steps that could be one). In this change, To fix this, I added the `message` property to the constructor so I can do both in a single call: ```dart pr = ProgressDialog( context, type: ProgressDialogType.Normal, message: 'This is my message', isDismissible: false, ); ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If I want to make a simple progress dialog with some text, I can't do that without creating, then styling the dialog (two steps that could be one). In this change,
To fix this, I added the
messageproperty to the constructor so I can do both in a single call:What's this PR do?
Makes it so you can set the message in the constructor.