mediumStudy question · answer published in Flutter interview questions, so no pointsflutterperformance
const constructors in Flutter
Why does Flutter recommend const constructors such as const Text('Hello') wherever possible?
Discussion 0
Join free to post in the discussion.
Related questions
- Network calls on the main threadMobile App Developer
- StatelessWidget or StatefulWidgetMobile App Developer
- Flutter hot reload vs restartMobile App Developer
- Testing speed on a debug buildMobile App Developer
- App Not Responding dialogMobile App Developer
- NetworkOnMainThreadExceptionMobile App Developer
- What a BuildContext isMobile App Developer
- Reading the screen widthMobile App Developer