Flutter has its own implementations of each UI control, rather than deferring to those provided by the system : for example, there is a pure Dart implementation of both the iOS Switch control and the one for the Android equivalent.
Read moreDoes Dart compile to native code?
Yes. Dart programs can be compiled to native x64 machine code for running in a Terminal/Command Prompt on desktop operating systems such as Windows, macOS, and Linux.
Read more