Mobile app developed using a flutter framework created by Google is open-source mobile application development. It is used to develop applications for Android and iOS, as well as being the primary method of creating applications
Requirements
To edit this project you must have Flutter and Dart installed and configured successfully on your device Install flutter
Set up your editor Install the Flutter and Dart plugins
Install Android Studio
Android Studio offers a complete, integrated IDE experience for Flutter.
- Android Studio, version 3.0 or later
Alternatively, you can also use IntelliJ:
- IntelliJ IDEA Community, version 2017.1 or later
- IntelliJ IDEA Ultimate, version 2017.1 or later
Install the Flutter and Dart plugins
The installation instructions vary by platform.
Mac
Use the following instructions for macos:
- Start Android Studio.
- Open plugin preferences (Configure > Plugins as of v3.6.3.0 or later).
- Select the Flutter plugin and click Install.
- Click Yes when prompted to install the Dart plugin.
- Click Restart when prompted.
Linux or Windows
Use the following instructions for Linux or WIndows:
- Open plugin preferences (File > Settings > Plugins).
- Select Marketplace, select the Flutter plugin and click Install.
Get Started
Download and unzip the Flutter App
, use your preferred IDE (Android Studio / Visual Code / IntelliJ) to open the project.
Run the app
- Locate the main Android Studio toolbar:
- In the target selector, select an Android device for running the app. If none are listed as available, select Tools> Android > AVD Manager and create one there. For details, see Managing AVDs.
- Click the run icon in the toolbar, or invoke the menu item Run > Run.
After the app build completes, you’ll see the starter app on your device.
Try hot reload
Flutter offers a fast development cycle with Stateful Hot Reload, the ability to reload the code of a live running app without restarting or losing app state. Make a change to app source, tell your IDE or command-line tool that you want to hot reload, and see the change in your simulator, emulator, or device.
- Open
lib/main.dart
. - Change the stringcontent_copy‘You have
pushedthe button this many times’tocontent_copy‘You have clicked the button this many times’ Important: Do not stop your app. Let your app run. - Save your changes: invoke Save All, or click Hot Reload .
You’ll see the updated string in the running app almost immediately.