-
-
Notifications
You must be signed in to change notification settings - Fork 932
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: Add advanced button component #2742
feat: Add advanced button component #2742
Conversation
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.
Nice! This is not a breaking change, so you don't need the exclamation mark on feat!
.
packages/flame/lib/src/components/input/advanced_button_component.dart
Outdated
Show resolved
Hide resolved
packages/flame/lib/src/components/input/advanced_button_component.dart
Outdated
Show resolved
Hide resolved
packages/flame/lib/src/components/input/advanced_button_component.dart
Outdated
Show resolved
Hide resolved
packages/flame/lib/src/components/input/advanced_button_component.dart
Outdated
Show resolved
Hide resolved
packages/flame/lib/src/components/input/advanced_button_component.dart
Outdated
Show resolved
Hide resolved
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.
Changes LGTM, but we need a test for this new component.
packages/flame/lib/src/components/input/advanced_button_component.dart
Outdated
Show resolved
Hide resolved
packages/flame/lib/src/components/input/advanced_button_component.dart
Outdated
Show resolved
Hide resolved
And docs, and a small example :) |
It's clear here. |
@denisgl7 here is an example of a component test, there are lots in that directory that you can have a look at: |
…nto add_advanced_button_component
…t.dart Co-authored-by: Lukas Klingsbo <[email protected]>
…t.dart Co-authored-by: Lukas Klingsbo <[email protected]>
…t.dart Co-authored-by: Lukas Klingsbo <[email protected]>
Co-authored-by: Lukas Klingsbo <[email protected]>
…ent.dart Co-authored-by: Lukas Klingsbo <[email protected]>
Co-authored-by: Lukas Klingsbo <[email protected]>
…ent.dart Co-authored-by: Lukas Klingsbo <[email protected]>
…ent.dart Co-authored-by: Lukas Klingsbo <[email protected]>
…ent.dart Co-authored-by: Lukas Klingsbo <[email protected]>
…ent.dart Co-authored-by: Lukas Klingsbo <[email protected]>
…ent.dart Co-authored-by: Lukas Klingsbo <[email protected]>
…ent.dart Co-authored-by: Lukas Klingsbo <[email protected]>
…ent.dart Co-authored-by: Lukas Klingsbo <[email protected]>
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.
Good job! Lgtm (except the minor change with the golden test)
afd6e57
to
fde43a6
Compare
Description
New button with support for multiple states:
Checklist
docs
and added dartdoc comments with///
.examples
ordocs
.Breaking Change?