Skip to content
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(flame_behaviors): add priority and key to the constructor #57

Conversation

wolfenrain
Copy link
Member

Status

READY

Description

Add the flame's priority and key arguments.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@wolfenrain wolfenrain requested a review from a team as a code owner January 11, 2024 08:54
@wolfenrain wolfenrain changed the title feat(flame_behaviors)/add priority and key to the constructor feat(flame_behaviors): add priority and key to the constructor Jan 11, 2024
class _TestBehavior extends DraggableBehavior {}

void main() {
group('$DraggableBehavior', () {
Copy link
Contributor

@alestiago alestiago Jan 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add some tests that specify these "new" arguments?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We dont control them, it's just passing them through from Flame.

Copy link
Contributor

@alestiago alestiago Jan 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even if they're from Flame, if we do not specify "super." they can't be passed, right? If we revert the change and keep the tests as they are now, all test will still pass?

@wolfenrain wolfenrain merged commit cc6cb4a into main Jan 11, 2024
7 checks passed
@wolfenrain wolfenrain deleted the feat(flame_behaviors)/add-`priority`-and-`key`-to-the-constructor branch January 11, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants