You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/shop-mobile-flutter/README.md
+46Lines changed: 46 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,3 +14,49 @@ A few resources to get you started if this is your first Flutter project:
14
14
For help getting started with Flutter, view our
15
15
[online documentation](https://flutter.dev/docs), which offers tutorials,
16
16
samples, guidance on mobile development, and a full API reference.
17
+
18
+
Setting up Your Development Environment
19
+
20
+
Find instructions for setting up your development machine with the Flutter framework on Flutter’s Get started page. The specific steps vary by platform, but they follow this basic format:
21
+
22
+
1.Download the installation bundle for your development machine’s operating system to get the latest stable release of the Flutter SDK.
23
+
2. Extract the installation bundle in the desired location.
24
+
3. Add the flutter tool to your path.
25
+
4. Run the flutter doctor command, which alerts you to any problems with the Flutter installation.
26
+
5. Install missing dependencies.
27
+
6. Set up your IDE with a Flutter plugin/extension.
28
+
7. Test drive an app.
29
+
30
+
The instructions provided on the Flutter website are very well done and allow you to easily set up a development environment on your platform of choice. The remainder of this tutorial assumes you’ve set up VS Code for Flutter development and that you’ve addressed any issues flutter doctor found. You can also use Android Studio to follow along.
31
+
32
+
To run your project as a mobile app, you’ll need to use one of the following options:
33
+
34
+
- Run either iOS Simulator or an Android emulator.
35
+
- Have an iOS or Android device set up for development.
36
+
- Run your code as a web app.
37
+
- Finally, you can run your code as a desktop app.
38
+
39
+
Even if your final target is mobile, using a web or desktop app during development gives you the advantage of being able to resize the app and observe how it would look with various screen sizes. If you have an older computer, the web or desktop version will also load faster than the Android emulator or iOS Simulator.
40
+
41
+
NOTE: TO BUILD AND TEST ON IOS SIMULATOR OR AN IOS DEVICE, YOU’LL NEED TO USE MACOS WITH XCODE. ALSO, EVEN IF YOU’RE PLANNING TO USE VS CODE AS YOUR MAIN IDE, THE EASIEST WAY TO GET THE ANDROID SDK AND ANDROID EMULATOR IS TO INSTALL ANDROID STUDIO AS WELL.
42
+
43
+
clone or download the latest version of the project on https://github.com/ever-co/ever-demand
44
+
45
+
then
46
+
You can open the project in either VS Code or Android Studio.
47
+
48
+
Open it in VS Code by opening the root folder. You’ll need to fetch packages before running the project. Do so by pressing Command-Shift-P on MacOS or Control-Shift-P on Windows or Linux to open the command palette and running the Flutter: Get Packages command.
49
+
50
+
To open the project in Android Studio, choose Open an existing project from the Welcome to Android Studio screen and navigate to choose the root folder of the final project. Then choose Get dependencies on the 'Pub get' has not been run line in Android Studio.
0 commit comments