Construct switch picker.
The context to use.
Default switch units on/off setting.
Listener for precision picker changes.