-
-
Notifications
You must be signed in to change notification settings - Fork 287
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: Common layout for welcome / product not found / error cards #2955
Conversation
(The test error is coming from the PR related to the scanner #2953) |
ed170a2
to
e991e32
Compare
The big icon is explicit enough that something bad happened: remove the |
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.
Hi @g123k!
I have minor comments; feel free to ignore them.
I haven't followed everything this morning, but it looks like there's a pending error that will pollute all the upcoming PRs and this error is connected to camera - that's why I believe you would know how to fix it, in another PR.
packages/smooth_app/lib/cards/product_cards/smooth_product_card.dart
Outdated
Show resolved
Hide resolved
import 'package:smooth_app/pages/product/add_new_product_page.dart'; | ||
|
||
class SmoothProductCardNotFound extends StatelessWidget { | ||
const SmoothProductCardNotFound({ | ||
SmoothProductCardNotFound({ |
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.
Not const
anymore?
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.
No, since there is a callback, the Widget can never be "constant"
Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
What