Skip to content

Why ConsumerWidget docs say it's a StatelessWidget? #820

Answered by rrousselGit
matuella asked this question in Q&A
Discussion options

You must be logged in to vote

There is no difference in performance between StatelessWidget and `StatefulWidget

The difference between them is the syntax (one vs two classes). ConsumerWidget having one class, it's similar to a StatelessWidget

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@matuella
Comment options

Answer selected by matuella
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants