DEV Community

loading...

Discussion on: Flutter Performance Tips (#1): const constructors

pedromassango profile image
Pedro Massango Author • Edited

Lets say that it is a small performance improvement, but it can add up in larger apps or apps where the view is rebuilt often for example because of animations.
const reduces the required work for the Garbage Collector.

(Updates)
Read more:
api.flutter.dev/flutter/widgets/St...