debugBuildCount property

  1. @visibleForTesting
int debugBuildCount
getter/setter pair

Number of times any InputField has built, in debug mode only.

Tests reset this and read it back to prove that typing does not rebuild the field unless the shown validation error changes.

Implementation

@visibleForTesting
static int debugBuildCount = 0;