当前位置:网站首页>Dart syntax
Dart syntax
2022-06-25 16:08:00 【. calin.】
1.main Function time entry , Must have , You can pass parameters when running code
2. There are many ways to name variables ,final and const The difference between
3. No non-zero is true ,
4. Function is not overloaded , There are required and optional parameters , Only optional parameters can have default values
5. There are generics
6. String and variable splicing ¥
7. For printing print
8. Function with arrow , But the condition is that the function body has only one line of code
9. It is recommended to define types for the parameters and return values of each function
10. The assignment operators are ??=
11. There are abstract classes Abstract method
12. hold datalesswidget Change to datafulwidget Use shortcut keys alt+enter
13. Shortcut key alt+enter+w Extract into widget part
14. Life cycle in Android studio Two calls... Are shown in , Actually only once , This problem does not occur with terminal execution
15stl stf Quickly generate
16.ctrl+alt+b View all implementation classes
17. Cold start ( It's a long time ), Cold restart ( Only changed build What's in it ), Hot restart
Put in local pictures :1. Create a file to put pictures ,2. Change configuration ,3 quote
18.alt+enter Express package widget
19.flatButton By default, there is a certain space between the top and bottom , Because there are properties materialTapTargetSize The default value of , Set no spacing , Set this property to MaterialTapTargetSize.shrinkWrap
It has a certain width and height by default
20. There are factory constructor abstract classes that can be instantiated
21containner You can set the length and width ,center Equivalent to his parent class align
边栏推荐
- 一文带你搞懂 JWT 常见概念 & 优缺点
- f_read 函数[通俗易懂]
- f_ Read function [easy to understand]
- Gold three silver four, an article to solve the resume and interview
- Error: homebrew core is a shallow clone
- Load local cifar10 dataset
- 数据存储和传输文件之XML使用和解析详解
- LeCun预言AGI:大模型和强化学习都是斜道!我的「世界模型」才是新路
- 异步处理容易出错的点
- Create raspberry PI image file of raspberry pie
猜你喜欢
Optimization of lazyagg query rewriting in parsing data warehouse
Client development (electron) system level API usage
Sleep formula: how to cure bad sleep?
Inter thread synchronization semaphore control
Stop "outsourcing" Ai models! The latest research finds that some "back doors" that undermine the security of machine learning models cannot be detected
Create raspberry PI image file of raspberry pie
Cloning and importing DOM nodes
商城风格也可以很多变,DIY 了解一下!
分享自己平时使用的socket多客户端通信的代码技术点和软件使用
赫尔辛基交通安全改善项目部署Velodyne Lidar智能基础设施解决方案
随机推荐
Converting cifar10 datasets
转换Cifar10数据集
Message format of Modbus (PLC)
Create raspberry PI image file of raspberry pie
Linux-MySQL数据库之高级SQL 语句一
How to debug grpc by postman
不要再「外包」AI 模型了!最新研究发现:有些破坏机器学习模型安全的「后门」无法被检测到
f_ Read function [easy to understand]
不要小看了积分商城,它的作用可以很大!
Practice of geospatial data in Nepal graph
数据存储和传输文件之XML使用和解析详解
分享自己平时使用的socket多客户端通信的代码技术点和软件使用
Leetcode topic [array]-34- find the first and last positions of elements in a sorted array
10款超牛Vim插件,爱不释手了
Prototype mode
Detailed explanation of IVX low code platform series -- Overview (I)
Load local cifar10 dataset
Based on neural tag search, the multilingual abstracts of zero samples of Chinese Academy of Sciences and Microsoft Asiatic research were selected into ACL 2022
Golang open source streaming media audio and video network transmission service -lal
Dino: Detr with improved detecting anchor boxes for end to end object detection