This method is called when running on simulator/emulator is detected.
final VoidCallback? onSimulator;