StatelessWidget vs a function returning Widgets in terms of performance
First of all, I’d like to note that a package is available to make a StatelessWidget from a function: functional_widget The gain is performance is not necessarily true. It depends on how you use your widgets, mostly how you use them to manage your state. By default, classes may degrade performances when opposed to functions … Read more