arduino+18 led's+darlington array+potentiometer

As I understand it you dim LEDs by PWM (pulse width modulation) not by varying the voltage you apply. So I would connect the pot to an analog input, read that and use it to set the duty cycle (on and off times) of the LEDs.

Andrew