当前位置:网站首页>[shutter] Introduction to the official example of shutter Gallery (project introduction | engineering construction)
[shutter] Introduction to the official example of shutter Gallery (project introduction | engineering construction)
2022-07-03 00:17:00 【Programmer community】
Find a strong Flutter Open source project , from Flutter Official Flutter Gallery , There are many functions for reference ;
This project is too strong , If you learn , Flutter UI The components are basically OK ;
This blog begins , Briefly introduce the main contents , Then analyze in detail for each technical point ;
One 、Flutter Gallery brief introduction
Flutter Gallery brief introduction :
- Project address : https://github.com/flutter/gallery , ( There are some problems during the visit , GitHub It's supposed to be cold )
- Domestic download address : https://pan.baidu.com/s/1HykdPJw2bDWddTqGEvdqBQ , Extraction code : 2wsk , Flutter Gallery It has been packed and put inside ;
Flutter Gallery Used to help developers learn and use Flutter ;
Flutter Gallery Included content :
- Material design ( Material Design ) Components : Android Style components ;
- Cupertino Components : iOS Style components ; ( [ˌkupərˈtinoʊ] )
- Behavior control related functions
- Use Flutter Small functions realized
Flutter Supported platforms : at present Flutter There are many supported platforms , 1 individual Web platform , 2 A mobile platform , 3 Desktop platform ;
- Android
- iOS
- web
- macOS
- Linux
- Windows
Two 、Flutter Gallery The project build
After downloading the source code , Find out Flutter Gallery The configuration of itself does not match , Need to be in pubspec.yaml Lieutenant general args The version number of the plug-in is set to 1.6.0 ;
args: ^1.6.0
Reference resources 【 Error log 】Flutter Report errors ( Because xx depends on flutter_driver any from sdk which depends on args 1.6.0 )
Then I'll talk about what I need Flutter SDK edition , The latest stable version of Flutter SDK 2.0.2 No related function found in , Explain that updated Flutter edition , Here we use the latest Beta Test version of SDK , 2.1.0-12.2.pre edition ;
Reference resources 【 Error log 】Flutter Build error reporting ( Error: Method not found: ‘CupertinoModalPopupRoute‘. | Download the latest Flutter SDK edition )
stay Android Studio Welcome interface selection " Open an Existing Project " Options ,
Select the project you want to open ,
modify pubspec.yaml Medium args Plug in version number ,
args: ^1.6.0
modify pubspec.yaml After the configuration , Click on the top right corner " Pub get " Button , Download dependency package ,
Change the current Flutter SDK Set the version to the latest version ,
Dart SDK Also set to the latest version ,
Not in the interface Logcat panel , Reference resources 【 Error log 】Android Studio Of Flutter The code interface does not Logcat panel Blog solution ;
Configuration Engineering SDK ,
To configure Facets ,
Running the project , take apk Install into your phone ;
边栏推荐
- Leetcode skimming - game 280
- Pytorch里面多任务Loss是加起来还是分别backward?
- Where can I find foreign papers?
- TypeError: Cannot read properties of undefined (reading ***)
- Top Devops tool chain inventory
- yolov5detect. Py comment
- How much do you know about synchronized?
- How to apply for company email when registering in company email format?
- 秒杀系统设计
- [OJ] intersection of two arrays (set, hash mapping...)
猜你喜欢
Luogu_ P1149 [noip2008 improvement group] matchstick equation_ Enumeration and tabulation
Luogu_ P2010 [noip2016 popularization group] reply date_ Half enumeration
JS interviewer wants to know how much you understand call, apply, bind no regrets series
Seckill system design
Interpretation of new plug-ins | how to enhance authentication capability with forward auth
Digital twin smart factory develops digital twin factory solutions
PR FAQ, what about PR preview video card?
Chinatelecom has maintained a strong momentum in the mobile phone user market, but China Mobile has opened a new track
開源了 | 文心大模型ERNIE-Tiny輕量化技術,又准又快,效果全開
Master the development of facial expression recognition based on deep learning (based on paddlepaddle)
随机推荐
Matlab 信号处理【问答笔记-1】
[array] binary search
Is the multitasking loss in pytoch added up or backward separately?
How do educators find foreign language references?
基于OpenCV实现口罩识别
Hit the industry directly! The propeller launched the industry's first model selection tool
Several methods of the minimum value in the maximum value of group query
直击产业落地!飞桨重磅推出业界首个模型选型工具
Where can I find foreign papers?
collections. What is the purpose of chainmap- What is the purpose of collections. ChainMap?
RTP 接发ps流工具改进(二)
Luogu_ P1149 [noip2008 improvement group] matchstick equation_ Enumeration and tabulation
leetcode 650. 2 Keys Keyboard 只有两个键的键盘(中等)
Digital collection trading website domestic digital collection trading platform
Don't want teachers to see themselves with cameras in online classes? Virtual camera you deserve!
List of major chip Enterprises
Maybe you read a fake Tianlong eight
Difference between NVIDIA n card and amda card
Where can I check the foreign literature of economics?
MFC文件操作