-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: ✨Provided barrier click disable functionality for a particular … #392
Conversation
CHANGELOG.md
Outdated
@@ -1,3 +1,6 @@ | |||
## [2.0.4] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please mention "unreleased" next to the version.
lib/src/showcase.dart
Outdated
@@ -244,6 +244,9 @@ class Showcase extends StatefulWidget { | |||
/// will still provide a callback. | |||
final VoidCallback? onBarrierClick; | |||
|
|||
/// For disabling barrier interaction for a particular showCase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please reword the documentation comment ?
lib/src/showcase.dart
Outdated
"onTargetClick is required if you're using disposeOnTap"); | ||
"onTargetClick is required if you're using disposeOnTap"), | ||
assert(onBarrierClick == null || disableBarrierInteraction == false, | ||
"can't use both property at same time"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please include both properties' names instead of only mentioning "both" in the assert message.
lib/src/showcase.dart
Outdated
"overlay opacity must be between 0 and 1."); | ||
"overlay opacity must be between 0 and 1."), | ||
assert(onBarrierClick == null || disableBarrierInteraction == false, | ||
"can't use both property at same time"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^^
926548e
to
6446d09
Compare
…showcase (#387).
Description
Checklist
fix:
,feat:
,docs:
etc).docs
and added dartdoc comments with///
.examples
ordocs
.Breaking Change?
Related Issues
Closes #387