Posts

Showing posts from October, 2023

The core architecture of flutter

Image
Flutter is a cross-platform UI toolkit for iOS and Android, promoting code reuse and direct platform service integration to create high-performance, platform-specific apps with shared code. Flutter compiles apps to machine code for various platforms or JavaScript for the web, boasting open-source flexibility with a BSD license and a rich ecosystem of third-party packages. Architectural layers Flutter is designed as an extensible, layered system. It exists as a series of independent libraries that each depend on the underlying layer. No layer has privileged access to the layer below, and every part of the framework level is designed to be optional and replaceable. Flutter's embedder is tailored to each platform, like Objective-C for iOS, Java for Android, and C++ for Windows, At the core of Flutter is the Flutter engine, which is mostly written in C++ providing the essential building blocks to power all Flutter applications. dart:ui exposes the engine to the Flutter framework ...