# Day 10: Hello Flutter

> Get started with Flutter by understanding the basic structure of a Flutter app, learning about widgets, and creating a simple Flutter app.

- URL: https://www.appwriters.dev/30days/flutter/day10
- Series: #30DaysMasterFlutter

---

Flutter is a software development kit (SDK) developed by Google that allows developers to build apps for mobile, web, and desktop platforms using a single codebase. It uses the Dart programming language and provides a set of pre-built UI components called widgets that can be used to build custom user interfaces for your app. Flutter is an open-source project and is free to use.

> **Project** - Famous Counter App
>
> - When you create a new Flutter project, it generates a counter app that just counts the number of times you tap the button on the screen
> - Create a new Flutter project and explore the different files and folders that are generated. Especially look into `lib/main.dart`, as that's where we will spend most of our time
> - Run the app on a mobile device, web, and/or desktop and see it in action
> 

By the end of this day, you should have a basic understanding of the structure of a Flutter app and how to customize the app bar and content area with basic widgets.

## Tips

- If you have not yet installed Flutter, you can follow the [instructions on the Flutter website to do this](https://docs.flutter.dev/install).
- Create a new Flutter project using the `flutter create my_app` command in your terminal, or use the **Flutter: New Project** command in VS Code (or **New Flutter Project** in Android Studio).
- Open the project in your preferred IDE or editor (e.g. Android Studio, VS Code) if not already.
- Customize the app bar and content area with widgets such as Text and Icon.
- Run the app with `flutter run` (or press F5 in VS Code) on an emulator, physical device, browser or desktop, and use hot reload to see your changes instantly.

### Resources

- [Create a new Flutter app](https://docs.flutter.dev/reference/create-new-app)
- [First Flutter App codelab](https://codelabs.developers.google.com/codelabs/flutter-codelab-first#0)
- [DartPad](https://dartpad.dev/) - If you have not yet installed Flutter, you can use DartPad to write and run Dart and Flutter code in your browser.
