Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is no issue with setting initial values in Flutter. Setting initial values is a common practice in software development and allows for a consistent starting point in code execution. However, it is important to ensure that the initial values are appropriate for the situation and that they are updated as needed throughout the application's lifecycle. Additionally, if the initial values are hardcoded, it can make it difficult to make changes in the future. Therefore, it is a good practice to use constants or configuration files to store these values instead.