An open API service indexing awesome lists of open source software.

https://github.com/rahullkumr/flutter-00-helloworld

Hello World in Flutter
https://github.com/rahullkumr/flutter-00-helloworld

Last synced: 3 months ago
JSON representation

Hello World in Flutter

Awesome Lists containing this project

README

        

Flutter ❤

Let's have a demo

[![Demo](https://img.shields.io/badge/open%20in%20dartpad-orange?style=for-the-badge&logo=flutter&logoColor=blue)](https://dartpad.dev/?id=2b61cccc26c7a13ac23f2e3714fc5094)

---

## What is Flutter?

- Flutter is a cross platform MAD framework that makes it easy for the developers to build beautiful apps for all screen sizes and devices.

- It comes with pre-built widgets that makes it easy to layout the apps.

## Why to choose Flutter?

- One codebase for android, iOS, Web, iot devices, web, etc.
- simple and flexible layout system
- Hot reload
- Open Source
- by Google
- for more [refer this](https://github.com/Rahullkumr/excelrflutter/blob/main/Notes/day1.md)

## Why Dart was selected for Flutter?

- Smooth transition animations at 60 fps (best for game dev)
- Automatically does Garbage Collection
- Compilation and Execution in Dart:
- uses JIT and AOT compilation
- JIT used during development (Hot Reload) and AOT (during release build) which compiles Dart code to Native machine code
- HOT RELOAD
- uses JIT compilation and builds the app within a second
- Easy syntax similar to c++ and java

```diff
- Almost all Modern programming languages can do these, what's special about Dart?

+ It's capability to transpile dart code that can target different architectures(runtimes) and hardwares
+ including x86(Desktop/laptops), ARM (Mobile devices) to even JavaScript Engines(Browsers)
```
- ARM = Advanced RISC(Reduced Instruction Set Computing) Machine

## flutter-00-helloWorld

```dart
import 'package:flutter/material.dart';

void main() {
runApp(
const MaterialApp(
home: Center(
child: Text("Hello World"),
),
),
);
}
```
## The App
![](./helloWorld.jpg)

-----

List of all Flutter apps: click here