dart-tour
首页 白天 夜间 BookChat 小程序 小程序 下载 阅读记录
  • 书签 我的书签
  • 添加书签 添加书签 移除书签 移除书签

Summary

来源 WorkBuddy 浏览 1 扫码 打印 2026-10-23 17:14:07
  • Summary

Summary

This page summarized the commonly used features in the Dart language.More features are being implemented, but we expect that they won’t breakexisting code. For more information, see the Dart language specification andEffective Dart.

To learn more about Dart’s core libraries, seeA Tour of the Dart Libraries.

上一篇:
下一篇:
  • 书签
  • 添加书签 移除书签
  • A tour of the Dart language
  • A basic Dart program
  • Important concepts
  • Keywords
  • Variables
    • Default value
    • Final and const
  • Built-in types
    • Numbers
    • Strings
    • Booleans
    • Lists
    • Sets
    • Maps
    • Runes and grapheme clusters
    • Symbols
  • Functions
    • Optional parameters
    • The main() function
    • Functions as first-class objects
    • Anonymous functions
    • Lexical scope
    • Lexical closures
    • Testing functions for equality
    • Return values
  • Operators
    • Arithmetic operators
    • Equality and relational operators
    • Type test operators
    • Assignment operators
    • Logical operators
    • Bitwise and shift operators
    • Conditional expressions
    • Cascade notation (..)
    • Other operators
  • Control flow statements
    • If and else
    • For loops
    • While and do-while
    • Break and continue
    • Switch and case
    • Assert
  • Exceptions
    • Throw
    • Catch
    • Finally
  • Classes
    • Using class members
    • Using constructors
    • Getting an object’s type
    • Instance variables
    • Constructors
    • Methods
    • Abstract classes
    • Implicit interfaces
    • Extending a class
    • Extension methods
    • Enumerated types
    • Adding features to a class: mixins
    • Class variables and methods
  • Generics
    • Why use generics?
    • Using collection literals
    • Using parameterized types with constructors
    • Generic collections and the types they contain
    • Restricting the parameterized type
    • Using generic methods
  • Libraries and visibility
    • Using libraries
    • Implementing libraries
  • Asynchrony support
    • Handling Futures
    • Declaring async functions
    • Handling Streams
  • Generators
  • Callable classes
  • Isolates
  • Typedefs
  • Metadata
  • Comments
  • Summary
暂无相关搜索结果!

    本文档使用 WanXiangYunDang 构建

    展开/收起文章目录

    思维导图备注

    文章二维码

    手机扫一扫,轻松掌上读

    文档下载

    请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
    PDF文档 EPUB文档 MOBI文档

    微信小程序阅读

    BookChat 微信小程序阅读
    微信扫一扫,知识掌上学

    书签列表

      阅读记录

      阅读进度: 0.00% ( 0/0 ) 重置阅读进度