The difference between statelesswidget and statefulwidget? Also how do I connect real database on firebase using statelesswidget with flutter on adroid
Asked
Active
Viewed 544 times
0
-
Stateless widget does not have setState which allows it repaint. https://flutter.io/docs/development/ui/interactive#stateful-stateless I do not think you use statelesswidget for anything with state like connecting to a database – user1462442 Nov 08 '18 at 19:47
-
Thank you, the link you provided is on point – Netshikulwe Donald Nov 09 '18 at 04:15
-
duplicate https://stackoverflow.com/questions/47501710/what-is-the-relation-between-stateful-and-stateless-widgets-in-flutter – user1462442 Nov 10 '18 at 03:19
-
https://stackoverflow.com/questions/5329618/stateless-vs-stateful-i-could-use-some-concrete-information/25582424#25582424 – user1462442 Nov 10 '18 at 03:19