Mindblown: a blog about philosophy.
-
Difference between Flutter and React native
In recent years, the demand for mobile apps, increasing to a very large extent so that the developers have searches fast framework to make the app. To make the app fast, many developers have started using a cross-platform app that gives many features to design e-commerce apps, interactive apps, and social apps. In this section,…
-
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. The topmost layer is the UI of the application, which is specific to the Android and iOS platforms. The second topmost layer contains all the Flutter native widgets. The next…
-
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. The re-rendering is optimized by calculating the distance between old and new widget UI and render only necessary things that are changes.
-
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. We can also use other interactive features into the existing widgets by composing with the GestureDetector widget.
-
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…
-
Foundation Library
It contains all the required packages for the basic building blocks of writing a Flutter application. These libraries are written in Dart language.
-
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. It takes Google’s open-source graphics library, Skia, to render low-level graphics.
-
Introduction
In this section, we are going to discuss the architecture of the Flutter framework. The Flutter architecture mainly comprises of four components. Flutter Engine Foundation Library Widgets Design Specific Widgets
-
First App Steps 8, 9 , and 10 :
Step 8: Let us understand the above code snippet line by line. To start Flutter programming, you need first to import the Flutter package. Here, we have imported a Material package. This package allows you to create user interface according to the Material design guidelines specified by Android. The second line is an entry point of the…
-
First App Step 7 :
Step 7: Open the main.dart file and replace the code with the following code snippets.
Got any book recommendations?