GO has pointer function too. \
Define pointer \
var p *int \
var a int = 23\
p = &a <- Now pointer p is same memory address as a \
*p = 36 <- Now a is also 26 as well
How great!
Now I've completed all courses of flutter development. Next step will be brainstroming and start development of application. The design will be started off!
Before implementing application, refer to https://pub.dev/packages/image_picker. \
\
1.Add package using flutter pub add image_picker \
2.Create varialble imagePicker using ImagePicker() \
3.Use pickImage method in imagePicker class that you can use camera on your device \
4.Don't forget this is a asynchronous function \
5.Update state using setState and set File variable \
6.To show picture, use FileImage \
\
That's all you need to follow. Please revise here if you forget.
When you get flutter deamon reload failure error, try this: \
1.Run flutter doctor \
2.If the error is unhandled error and /Users/kiyo/.config is not found \
3.Remove ~/.config and create .config folder using mkdir -p ~/.config \
4.Check flutter doctor \
If the command works, you've solved the issue. I've got this issue today, so I'll push sharing here.