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 关键字上面

  1. VS Code 右键,Go To Definition
  2. command + F12 (F12这个需要按住fn)
  3. command + click 好使
  4. 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的更多相关文章

  1. 在linux系统中安装VSCode(Visual Studio Code)

    在linux系统中安装VSCode(Visual Studio Code) 1.从官网下载压缩包(话说下载下来解压就直接可以运行了咧,都不需要make) 访问Visual Studio Code官网  ...

  2. 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 ...

  3. 编程等宽字体Source Code Pro(转)

    Source Code Pro - 最佳的免费编程字体之一!来自 Adobe 公司的开源等宽字体下载     每一位程序员都有一套自己喜爱的代码编辑器与编程字体,譬如我们之前就推荐过一款"神 ...

  4. 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 ...

  5. How to build windows azure PowerShell Source Code

    Download any version source code of Windows Azure Powershell from https://github.com/Azure/azure-sdk ...

  6. akka cluster sharding source code 学习 (1/5) 替身模式

    为了使一个项目支持集群,自己学习使用了 akka cluster 并在项目中实施了,从此,生活就变得有些痛苦.再配上 apache 做反向代理和负载均衡,debug 起来不要太酸爽.直到现在,我还对 ...

  7. 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 ...

  8. Classic Source Code Collected

    收藏一些经典的源码,持续更新!!! 1.深度学习框架(Deep Learning Framework). A:Caffe (Convolutional Architecture for Fast Fe ...

  9. 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 ...

随机推荐

  1. WPF TabControl美化

    <Window.Resources> <!-- TabItem的样式 --> <Style TargetType="{x:Type TabItem}" ...

  2. fiddler安装以及使用说明

    一.fiddler fiddler是一个抓包工具,通过使用它抓包我们可以很清晰的看到抓的内容的协议,URL,参数等. 1.安装 在普通下载网站找到安装包,直接安装,点击下一步即可. 二.使用 1.se ...

  3. Http系列:断点续传与多线程下载

    前言 当下载电影时,我常常会想中断下载后,为什么点击开始时会在中断的地方继续下载呢?又或者在看在线电影时,为什么可以按着播放条拖动就能看到想看的片段呢? http的range请求将解决以上困惑. 多线 ...

  4. loj2587铁人两项

    无向图,图中选出定点三元组(a,b,c),a->b->c的路径没有重复边.问方案有多少? -------------------------------------------- 首先求出 ...

  5. ThinkPHP3.2.4 order方法注入

    漏洞详情: 漏洞文件:./ThinkPHP\Library\Think\Db\Driver.class.php 中的 parseOrder方法: 这也是继上次order方法注入之后的修复手段. 可以看 ...

  6. 渗透测试工具-sqlmap

    简单来说:一个用来做sql注入攻击的工具 安装 1,下载sqlmap.zip,下载环境: 打开sqlmap官网https://github.com/sqlmapproject/sqlmap/ :下载p ...

  7. Linux踩坑填坑记录

    Linux踩坑填坑记录 yum安装失败[Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.aliyun.com'" ...

  8. rand()函数 不同区间 整数和浮点数

    C++中rand()范围[0,RAND_MAX] 1.生成整数随机数,a b均为整数,且    [a,b)---rand()%(b-a)+a [a,b]  ---rand()%(b-a+1)+a (a ...

  9. dedecms不能保存jpeg格式图片的解决方法

    方法如下: 进入织梦的后台管理目录,默认是dede文件夹,找到/inc/inc_archives_functions.php文件. 在文件里查找gif|jpg|,我找到了4个, 在它们后面加jpeg的 ...

  10. docker 运用

    本文采用centos7,记录docker的简单运用方式 https://www.runoob.com/docker/docker-container-usage.html 1.安装odcker 2.启 ...