build_context icon indicating copy to clipboard operation
build_context copied to clipboard

Add dialog support extensions

Open bdlukaa opened this issue 5 years ago • 0 comments

To show a dialog, we must add the context parameter to the function. It would be cool if we could show a dialog from the BuildContext.

For example:

Previous:

showDialog(
      context: context,
      ....
);

Now:

context.showDialog(...);

bdlukaa avatar Aug 27 '20 03:08 bdlukaa