Beginners Guide for Flutter.

keshav
Nerd For Tech
Published in
3 min readNov 1, 2021

--

What is Flutter?

Flutter was released in May 2017 by Google. Flutter is not a programming language, it is a software development kit (SDK) with prewritten code, with ready-to-use and customizable widgets, libraries, tools, and documentation.

Flutter can be used to make cross-platform apps: Android, IOS, and web. It is a framework specifically designed for the front end.

Flutter uses Dart as it allows Flutter to avoid the need for a separate declarative layout like JSK and XML. Flutter apps are written in the Dart language, and Flutter comes with Flutter DevTools(also known as Dart Dev tools). That’s why it is necessary to learn Dart before Flutter.

Advantages of Flutter:

1. Open Source

Flutter is an open-source software development toolkit. It provides easy posting of issues and access to documentation from open development developer forums.

2. Single codebase

Flutter being a cross-platform framework, a single version of an application can run in android, IOS, and the web. Therefore it prevents developers from writing different code for different platforms.

3. Hot reload and development

In flutter, developers can see the changes made to code instantly. Developers don’t have to wait for the update and can continue using the framework without interruptions.

4. Native app-like feature

Since flutter uses Dart that can be easily compiled into native code, futter applications can run on any platform.

5. Use of custom widgets

Flutter offers a countless number of widgets that developers use in their creation process. It makes designing a basic UI easier. In flutter, you can create a UI element once and it will adapt to different screen sizes.

Now, let’s create a simple login page using Flutter. For the record, it’s a tutorial. If you are interested in learning Flutter, check out Flutter: Beautiful native apps in record time.

Some terminologies:

  • Stateful widgets: It is a dynamic widget that can be updated during runtime based on user action or data change.
  • Scaffold: It is a widget that helps in structuring the layout of the basic material design.
  • Container: It is a parent widget that can contain multiple child widgets.

Creating the flutter project:

Running the project:

End product:

See, how easy it is to make a login page using Flutter.

Well, you made it till the end.

Follow me on:

https://www.instagram.com/sr.keshav/

--

--