VSCode & outline & source code
VSCode & outline & source code
Dart 源码学习
outline 速览
dart-core List class instance-methods
https://api.dart.dev/stable/2.9.1/dart-core/List-class.html#instance-methods
/**
*
* @author xgqfrms
* @license MIT
* @copyright xgqfrms
* @created 2019-01-01
*
* @description
* @augments
* @example
*
*/
void main() {
var list = [1, 2, 3, "string", true, [4,5,6]];
// var list = [1, 2, 3];
print("list = $list");
list[0] = 11;
print("list = $list");
// var lc = const [1, 2, 3];
const lc = [1, 2, 3];
print("lc = $lc");
// lc[0] = 11;
// Unsupported operation: Cannot modify an unmodifiable list
var ln = new List(3);
print("ln = $ln");
ln = [...list];
print("ln = $ln");
}
/*
list = [1, 2, 3]
list = [11, 2, 3]
lc = [1, 2, 3]
ln = [null, null, null]
ln = [11, 2, 3]
*/
/*
list = [1, 2, 3, string, true, [4, 5, 6]]
list = [11, 2, 3, string, true, [4, 5, 6]]
lc = [1, 2, 3]
ln = [null, null, null]
ln = [11, 2, 3, string, true, [4, 5, 6]]
*/
VSCode 跳转到 Dart 源代码
光标放到 Dart 关键字上面
- VS Code 右键,Go To Definition
- command + F12 (F12这个需要按住fn)
- command + click 好使
- command + 7 不好使
refs
Dart Core & List class
https://api.dart.dev/stable/2.9.1/dart-core/List-class.html
https://api.dart.dev/stable/2.9.1/dart-core/List-class.html#constructors
https://api.dart.dev/stable/2.9.1/dart-core/List-class.html#instance-properties
https://api.dart.dev/stable/2.9.1/dart-core/List-class.html#instance-methods
https://api.dart.dev/stable/2.9.1/dart-core/List-class.html#operators
https://api.dart.dev/stable/2.9.1/dart-core/List-class.html#static-methods
xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
VSCode & outline & source code的更多相关文章
- 在linux系统中安装VSCode(Visual Studio Code)
在linux系统中安装VSCode(Visual Studio Code) 1.从官网下载压缩包(话说下载下来解压就直接可以运行了咧,都不需要make) 访问Visual Studio Code官网 ...
- Tips for newbie to read source code
This post is first posted on my WeChat public account: GeekArtT Reading source code is always one bi ...
- 编程等宽字体Source Code Pro(转)
Source Code Pro - 最佳的免费编程字体之一!来自 Adobe 公司的开源等宽字体下载 每一位程序员都有一套自己喜爱的代码编辑器与编程字体,譬如我们之前就推荐过一款"神 ...
- How to build the Robotics Library from source code on Windows
The Robotics Library is an open source C++ library for robot kinematics, motion planning and control ...
- How to build windows azure PowerShell Source Code
Download any version source code of Windows Azure Powershell from https://github.com/Azure/azure-sdk ...
- akka cluster sharding source code 学习 (1/5) 替身模式
为了使一个项目支持集群,自己学习使用了 akka cluster 并在项目中实施了,从此,生活就变得有些痛苦.再配上 apache 做反向代理和负载均衡,debug 起来不要太酸爽.直到现在,我还对 ...
- view class source code with JAD plugin in Eclipse
The default class viewer doesn't decompile the class file so you cannot open and check the source co ...
- Classic Source Code Collected
收藏一些经典的源码,持续更新!!! 1.深度学习框架(Deep Learning Framework). A:Caffe (Convolutional Architecture for Fast Fe ...
- Attach source code to a Netbeans Library Wrapper Module
http://rubenlaguna.com/wp/2008/02/22/attach-source-code-to-a-netbeans-library-wrapper-module/ Attach ...
随机推荐
- ProbabilityStatistics
class ProbabilityStatistics: @staticmethoddef simulation_of_probability(v, ratio=10000): assert v &g ...
- session和cookie自动登录机制
cookie的存储 cookie是浏览器支持的一种本地存储方式.以dict,键值对方式存储. {"sessionkey": "123"} 浏览器会自动对于它进行 ...
- loj10173
炮兵阵地 司令部的将军们打算在 N×M 的网格地图上部署他们的炮兵部队.一个 N×M的地图由 N 行 M 列组成,地图的每一格可能是山地(用 H 表示),也可能是平原(用 P表示),如下图.在每一格平 ...
- HDU1823 Luck ans Love 二维线段树
Luck and Love HDU - 1823 世界上上最远的距离不是相隔天涯海角 而是我在你面前 可你却不知道我爱你 ―― 张小娴 前段日子,枫冰叶子给Wiskey ...
- HTML5 使用浏览器内置数据库之 indexedDB
indexedDB是H5规范里的浏览器内置数据库,是nosql数据库的一种.因为另一种数据库Web SQL不再受W3C支持,所以还得学习下这个. 基本情况 兼容性:ie11及以上都支持, W3C是这么 ...
- Spring Boot 微服务应用集成Prometheus + Grafana 实现监控告警
Spring Boot 微服务应用集成Prometheus + Grafana 实现监控告警 一.添加依赖 1.1 Actuator 的 /prometheus端点 二.Prometheus 配置 部 ...
- 小白搭建WAMP详细教程---apache、mysql、php的整合配置
Apache与PHP整合 我们之前说过PHP能够解析PHP代码, 可是不服务于apache,apache能够获取接收浏览器的请求, 可是不能处理PHP代码, 要实现动态站点开发,就必须结合apache ...
- Java基础进阶
Java基础进阶J Object类 hashcode() toString() clone() getClass() notify() wait() equals() Random类 生成 随机数 U ...
- 让visual studio总是以管理员身份启动
环境 win10 visual studio 2019 步骤 找到visual studio的安装目录 怎么找? 右击win10开始菜单中visual studio的快捷方式, 依次选择 更多-> ...
- 1155 Heap Paths
题干前半略. Sample Input 1: 8 98 72 86 60 65 12 23 50 Sample Output 1: 98 86 23 98 86 12 98 72 65 98 72 ...