trackWidgetCreation property

bool? trackWidgetCreation
final

Controls widget creation tracking for debugging.

When enabled, tracks widget creation locations which helps with debugging widget-related issues but adds overhead to the build.

Values:

  • true - Enable widget creation tracking
  • false - Disable widget creation tracking
  • null - Use default Flutter behavior

Implementation

final bool? trackWidgetCreation;