Installation of the fluter ststem for thte training
AzeemIqbal25
9 views
57 slides
Feb 25, 2025
Slide 1 of 57
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
About This Presentation
Andriod Develpment
Size: 4.43 MB
Language: en
Added: Feb 25, 2025
Slides: 57 pages
Slide Content
Flutter Sara Masood
Emulator Setup 01
Run Emulator
Add futter plugin
Deploy your lab /project to firebase hosting
Open your cmd and type
Firebase is installed now in your laptop … Next open your project which you want to deploy
Open your project in cmd or vs code terminal and type firebase login
Initialize firebase project Hit firbase init command in your project terminal
Press Y
Your arrow keys of your keyboard and select third option by pressing space bard .
Select the existing project option using arrow keys
Select the project you created on firebase in my case it is lab4
It will ask you about public folder you need to write build/web exactly like this
Click one yes and others now yes for single page application.
Now last option write command flutter build web which means flutter please create web version for deployment inside the build folder. And after that hit command firebase deploy….
Its deploying as you hit command firebase deploy
Github repository
Note you can use GitHub desktop application for git repository … But If you can do easily with command line that ‘s good . Second task is to make git repository of your labs/projects . Create account and make new repository.
Open terminal of your project which you want to push on github and type following commands
Now you are committed to make local repository next step is to get remote url
Type the following commands and past url of your repository and lastly push code on github .
By default, its deployed in master branch you need to change the branch from master to main by clicking on arrow keys