debugPrintBulkAnimationState method

void debugPrintBulkAnimationState()

Debug helper to print bulk animation state. Call this to verify animation is running correctly.

Implementation

void debugPrintBulkAnimationState() {
  if (_bulkAnimationGroup == null) {
    debugPrint('TreeController: No bulk animation group');
    return;
  }
  final controller = _bulkAnimationGroup!.controller;
  debugPrint(
    'TreeController bulk animation: '
    'value=${_bulkAnimationGroup!.value.toStringAsFixed(3)}, '
    'controllerValue=${controller.value.toStringAsFixed(3)}, '
    'status=${controller.status}, '
    'members=${_bulkAnimationGroup!.members.length}, '
    'pendingRemoval=${_bulkAnimationGroup!.pendingRemoval.length}',
  );
}