# Flutter Architecture & Approach

At the core of Flutter's architecture is the Flutter engine, which is written in C++ and provides low-level rendering capabilities. The engine interfaces with the host operating system and handles tasks such as layout, drawing, and gesture recognition.

<div align="left"><figure><img src="https://3868804918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FegsIWleSdyH9rMLJ8ShI%2Fuploads%2Fgit-blob-ff7bb0a3a34ee5e504a5557b329af6333005b90e%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure></div>

On top of the engine, Flutter provides a comprehensive UI toolkit that consists of widgets. Widgets are the building blocks of Flutter applications and represent different elements of the user interface.

Flutter's reactive framework allows widgets to rebuild efficiently when there are changes

<div align="left"><figure><img src="https://3868804918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FegsIWleSdyH9rMLJ8ShI%2Fuploads%2Fgit-blob-1c7407582e93e8ab6943604218edd633b55e0f40%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure></div>

Watch the video here to understand Flutter Architecture -

{% embed url="<https://www.youtube.com/watch?v=UUfXWzp0-DU>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digit.org/platform/guides/developer-guide/flutter-mobile-app-ui-developer-guide/introduction-to-flutter/flutter-architecture-and-approach.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
