Why ConsumerWidget
docs say it's a StatelessWidget
?
#820
-
It extends What is the |
Beta Was this translation helpful? Give feedback.
Answered by
rrousselGit
Oct 15, 2021
Replies: 1 comment 1 reply
-
There is no difference in performance between The difference between them is the syntax (one vs two classes). |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
matuella
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is no difference in performance between
StatelessWidget
and `StatefulWidgetThe difference between them is the syntax (one vs two classes).
ConsumerWidget
having one class, it's similar to aStatelessWidget