State Management Widget

In Flutter, there are mainly two types of widget: StatelessWidget StatefulWidget StatefulWidget A StatefulWidget has state information. It contains mainly two classes: the state object and the widget. It is dynamic because it can change the inner data during the widget lifetime. This widget does not have a build() method. It has createState() method, which returns a class that extends the Flutters… Continue reading State Management Widget

Types of Widget

We can split the Flutter widget into two categories: Visible (Output and Input) Invisible (Layout and Control) Visible widget The visible widgets are related to the user input and output data. Some of the important types of this widget are: Text A Text widget holds some text to display on the screen. We can align… Continue reading Types of Widget

Flutter Widgets

In this section, we are going to learn the concept of a widget, how to create it, and their different types available in the Flutter framework. We have learned earlier that everything in Flutter is a widget. If you are familiar with React or Vue.js, then it is easy to understand the Flutter. Whenever you… Continue reading Flutter Widgets

What is Flutter?

Flutter is a UI toolkit for creating fast, beautiful, natively compiled applications for mobile, web, and desktop. It builds the app with one programing language and a single codebase. It is free and open-source. It was initially developed by Google in May 2017 and now manages by an ECMA standard. Flutter is a mobile framework… Continue reading What is Flutter?

What is React Native?

React Native is an open-source JavaScript framework developed by Facebook. It is used for developing a real, native mobile application for both Android and iOS platforms. It is a JavaScript framework that builds upon the React library to create mobile apps with a single codebase. It uses native components rather than using web components as… Continue reading What is React Native?

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… Continue reading Layers

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… Continue reading Widgets