Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Flutter render with Skia also on iOS?

Tags:

flutter

According to Skia's homepage Android, Google Chrome, Chrome OS, ... are supported by Skia. There is no reference that iOS is supported by Skia's engine.

Question

But in another article it is described that elements are purely drawn with Skia. So how does it work on iOS?

and draws it on a Skia canvas, instead of using the native UI elements

(https://xamarinhelp.com/flutter-xamarins-next-big-competitor/)

like image 650
GreenTigerEye Avatar asked May 12 '18 15:05

GreenTigerEye


2 Answers

Yes, Flutter renders with Skia also on iOS. Skia is written in C and that can usually be compiled for any platform. Skia also addresses graphics hardware directly and therefore doesn't depend that much on the target platform.

like image 85
Günter Zöchbauer Avatar answered Oct 14 '22 04:10

Günter Zöchbauer


Skia "serves as the graphics engine for Google Chrome and Chrome OS, Android, " Firefox, Flutter, Fuchsia, and others.

That just means that Skia is used by those products. Skia is currently actively tested on Linux, Windows, MacOS, ChromeOS, Android, and iOS.

like image 34
Hal Canary Avatar answered Oct 14 '22 03:10

Hal Canary