Flutter 1st Lecture
Flutter 1st Lecture
1- Window
2- MacBook
3- Linux
4- ChromeOS
Click the link and follow the instruction to install flutter SDK
https://docs.flutter.dev/get-started/install/windows#update-your-path
Or
Installation in Windows
In this section, let us see how to install Flutter SDK and its requirement in a
windows system.
Step 3 − Update the system path to include the flutter bin directory.
Step 4 − Flutter provides a tool, a flutter doctor to check that all the requirement of
Install VS Code
VS Code is a lightweight editor with complete Flutter app execution and debug
support.
Mac
Use the following instructions for macos:
Linux or Windows
Use the following instructions for Linux or Windows:
You can run this codelab by using any of the following devices:
Every Flutter app you create also compiles for the web. In your IDE under the devices
pulldown, or at the command line using flutter devices, you should now see
Chrome and Web server listed. The Chrome device automatically starts Chrome. The
Web server starts a server that hosts the app so that you can load it from any
browser. Use the Chrome device during development so that you can use DevTools,
and the web server when you want to test on other browsers. For more information,
see Building a web application with Flutter and Write your first Flutter app on the
web.
Also, Flutter apps can compile for desktop. You should see your operating system
listed in your IDE under devices, for example: Windows (desktop), or at the command
line using flutter devices. For more information on building apps for desktop, see
Write a Flutter desktop application.
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Welcome to Flutter',
home: Scaffold(
appBar: AppBar(
title: const Text('Welcome to Flutter'),
),
body: const Center(
child: Text('Hello World'),
),
),
);
}
}