code: func NewList(fieldTypes []*types.FieldType, initChunkSize, maxChunkSize int) *List {
  	l := &List{
  		fieldTypes:    fieldTypes,
  		initChunkSize: initChunkSize,
  		maxChunkSize:  maxChunkSize,
  		memTracker:    memory.NewTracker(chunkListLabel, -1),
  		consumedIdx:   -1,
  	}
  	return l
  }
docs: // NewList creates a new List with field types, init chunk size and max chunk size.