search

New

6/recent/ticker-posts

Flutter Architecture Part 2

 

In this section, we are going to learn about the architecture of the Flutter framework. Generally, there are four components of Flutter framework architecture.

  1. Flutter Engine
  2. Foundation Library
  3. Widgets
  4. Design Specific Widgets

1. Flutter Engine

It is a portable runtime for high-quality mobile apps and primarily based on the C++ language. It implements Flutter core libraries that include animation and graphics, file and network I/O, plugin architecture, accessibility support, and a dart runtime for developing, compiling, and running Flutter applications.

2. Foundation Library

It contains all the required packages for the basic building blocks of writing a Flutter application.

3. Widgets

In Flutter, everything is a widget, which is the core concept of this framework. Widget in the Flutter is basically a user interface component that affects and controls the view and interface of the app. It represents an immutable description of part of the user interface and includes graphics, text, shapes, and animations that are created using widgets.

Design Specific Widgets

The Flutter framework has two sets of widgets that conform to specific design languages. These are Material Design for Android application and Cupertino Style for IOS application.

Gestures

It is a widget that provides interaction (how to listen for and respond to) in Flutter using GestureDetector. GestureDector is an invisible widget, which includes tapping, dragging, and scaling interaction of its child widget

State Management

Flutter widget maintains its state by using a special widget, StatefulWidget. It is always auto re-rendered whenever its internal state is changed.

Layers

Layers are an important concept of the Flutter framework, which are grouped into multiple categories in terms of complexity and arranged in the top-down approach. 

!!Thank You!!




Post a Comment

0 Comments

Contact Form

Name

Email *

Message *

Random Products

Learning English