Document index
- Dart 3 迁移指南
/resources/dart-3-migration/ - Dart SDK 存档
/get-dart/archive/ - Dart 中的并发
/language/concurrency/ - Dart 中的数字
/resources/language/number-representation/ - Dart 品牌指南
/brand/ - Dart 团队包
/resources/dart-team-packages/ - Dart 常见问题
/resources/faq/ - Dart 文档
/guides/ - Dart 概述
/overview/ - Dart 测试
/guides/testing/ - Dart 简介
/language/ - Dart 类型系统
/language/type-system/ - Dart 语言演进
/resources/language/evolution/ - Dart 语言规范
/resources/language/spec/ - Dart 速查表
/resources/dart-cheatsheet/ - Dart的核心库
/libraries/ - Dart编程语言
/ - Document index
/map/ - Futures 和错误处理
/libraries/async/futures-error-handling/ - Iterable 集合
/libraries/collections/iterables/ - JS 交互教程
/interop/js-interop/tutorials/ - JS 类型
/interop/js-interop/js-types/ - JavaScript 开发者学习 Dart
/resources/coming-from/js-to-dart/ - JavaScript互操作性
/interop/js-interop/ - Mixin
/language/mixins/ - Swift 开发者学习 Dart
/resources/coming-from/swift-to-dart/ - avoid_escaping_inner_quotes
/tools/linter-rules/avoid_escaping_inner_quotes.html - avoid_field_initializers_in_const_classes
/tools/linter-rules/avoid_field_initializers_in_const_classes.html - avoid_final_parameters
/tools/linter-rules/avoid_final_parameters.html - avoid_function_literals_in_foreach_calls
/tools/linter-rules/avoid_function_literals_in_foreach_calls.html - avoid_futureor_void
/tools/linter-rules/avoid_futureor_void.html - avoid_implementing_value_types
/tools/linter-rules/avoid_implementing_value_types.html - avoid_init_to_null
/tools/linter-rules/avoid_init_to_null.html - avoid_js_rounded_ints
/tools/linter-rules/avoid_js_rounded_ints.html - avoid_multiple_declarations_per_line
/tools/linter-rules/avoid_multiple_declarations_per_line.html - avoid_null_checks_in_equality_operators
/tools/linter-rules/avoid_null_checks_in_equality_operators.html - avoid_positional_boolean_parameters
/tools/linter-rules/avoid_positional_boolean_parameters.html - avoid_print
/tools/linter-rules/avoid_print.html - avoid_private_typedef_functions
/tools/linter-rules/avoid_private_typedef_functions.html - avoid_redundant_argument_values
/tools/linter-rules/avoid_redundant_argument_values.html - avoid_relative_lib_imports
/tools/linter-rules/avoid_relative_lib_imports.html - avoid_renaming_method_parameters
/tools/linter-rules/avoid_renaming_method_parameters.html - avoid_return_types_on_setters
/tools/linter-rules/avoid_return_types_on_setters.html - avoid_returning_null
/tools/linter-rules/avoid_returning_null.html - avoid_returning_null_for_future
/tools/linter-rules/avoid_returning_null_for_future.html - avoid_returning_null_for_void
/tools/linter-rules/avoid_returning_null_for_void.html - avoid_returning_this
/tools/linter-rules/avoid_returning_this.html - avoid_setters_without_getters
/tools/linter-rules/avoid_setters_without_getters.html - avoid_shadowing_type_parameters
/tools/linter-rules/avoid_shadowing_type_parameters.html - avoid_single_cascade_in_expression_statements
/tools/linter-rules/avoid_single_cascade_in_expression_statements.html - avoid_slow_async_io
/tools/linter-rules/avoid_slow_async_io.html - avoid_type_to_string
/tools/linter-rules/avoid_type_to_string.html - avoid_types_as_parameter_names
/tools/linter-rules/avoid_types_as_parameter_names.html - avoid_types_on_closure_parameters
/tools/linter-rules/avoid_types_on_closure_parameters.html - avoid_unnecessary_containers
/tools/linter-rules/avoid_unnecessary_containers.html - avoid_unstable_final_fields
/tools/linter-rules/avoid_unstable_final_fields.html - avoid_unused_constructor_parameters
/tools/linter-rules/avoid_unused_constructor_parameters.html - avoid_void_async
/tools/linter-rules/avoid_void_async.html - avoid_web_libraries_in_flutter
/tools/linter-rules/avoid_web_libraries_in_flutter.html - await_only_futures
/tools/linter-rules/await_only_futures.html - camel_case_extensions
/tools/linter-rules/camel_case_extensions.html - camel_case_types
/tools/linter-rules/camel_case_types.html - cancel_subscriptions
/tools/linter-rules/cancel_subscriptions.html - cascade_invocations
/tools/linter-rules/cascade_invocations.html - cast_nullable_to_non_nullable
/tools/linter-rules/cast_nullable_to_non_nullable.html - close_sinks
/tools/linter-rules/close_sinks.html - collection_methods_unrelated_type
/tools/linter-rules/collection_methods_unrelated_type.html - combinators_ordering
/tools/linter-rules/combinators_ordering.html - comment_references
/tools/linter-rules/comment_references.html - conditional_uri_does_not_exist
/tools/linter-rules/conditional_uri_does_not_exist.html - constant_identifier_names
/tools/linter-rules/constant_identifier_names.html - control_flow_in_finally
/tools/linter-rules/control_flow_in_finally.html - curly_braces_in_flow_control_structures
/tools/linter-rules/curly_braces_in_flow_control_structures.html - dangling_library_doc_comments
/tools/linter-rules/dangling_library_doc_comments.html - dart:async
/libraries/dart-async/ - dart:convert
/libraries/dart-convert/ - dart:core
/libraries/dart-core/ - dart:html
/libraries/dart-html/ - dart:io
/libraries/dart-io/ - dart:math
/libraries/dart-math/ - depend_on_referenced_packages
/tools/linter-rules/depend_on_referenced_packages.html - deprecated_consistency
/tools/linter-rules/deprecated_consistency.html - deprecated_member_use_from_same_package
/tools/linter-rules/deprecated_member_use_from_same_package.html - diagnostic_describe_all_properties
/tools/linter-rules/diagnostic_describe_all_properties.html - directives_ordering
/tools/linter-rules/directives_ordering.html - discarded_futures
/tools/linter-rules/discarded_futures.html - do_not_use_environment
/tools/linter-rules/do_not_use_environment.html - document_ignores
/tools/linter-rules/document_ignores.html - empty_catches
/tools/linter-rules/empty_catches.html - empty_constructor_bodies
/tools/linter-rules/empty_constructor_bodies.html - empty_statements
/tools/linter-rules/empty_statements.html - enable_null_safety
/tools/linter-rules/enable_null_safety.html - eol_at_end_of_file
/tools/linter-rules/eol_at_end_of_file.html - exhaustive_cases
/tools/linter-rules/exhaustive_cases.html - file_names
/tools/linter-rules/file_names.html - flutter_style_todos
/tools/linter-rules/flutter_style_todos.html - hash_and_equals
/tools/linter-rules/hash_and_equals.html - implementation_imports
/tools/linter-rules/implementation_imports.html - implicit_call_tearoffs
/tools/linter-rules/implicit_call_tearoffs.html - implicit_reopen
/tools/linter-rules/implicit_reopen.html - invalid_case_patterns
/tools/linter-rules/invalid_case_patterns.html - invalid_runtime_check_with_js_interop_types
/tools/linter-rules/invalid_runtime_check_with_js_interop_types.html - invariant_booleans
/tools/linter-rules/invariant_booleans.html - iterable_contains_unrelated_type
/tools/linter-rules/iterable_contains_unrelated_type.html - join_return_with_assignment
/tools/linter-rules/join_return_with_assignment.html - leading_newlines_in_multiline_strings
/tools/linter-rules/leading_newlines_in_multiline_strings.html - library_annotations
/tools/linter-rules/library_annotations.html - library_names
/tools/linter-rules/library_names.html - library_prefixes
/tools/linter-rules/library_prefixes.html - library_private_types_in_public_api
/tools/linter-rules/library_private_types_in_public_api.html - lines_longer_than_80_chars
/tools/linter-rules/lines_longer_than_80_chars.html - list_remove_unrelated_type
/tools/linter-rules/list_remove_unrelated_type.html - literal_only_boolean_expressions
/tools/linter-rules/literal_only_boolean_expressions.html - matching_super_parameters
/tools/linter-rules/matching_super_parameters.html - missing_code_block_language_in_doc_comment
/tools/linter-rules/missing_code_block_language_in_doc_comment.html - missing_whitespace_between_adjacent_strings
/tools/linter-rules/missing_whitespace_between_adjacent_strings.html - no_adjacent_strings_in_list
/tools/linter-rules/no_adjacent_strings_in_list.html - no_default_cases
/tools/linter-rules/no_default_cases.html - no_duplicate_case_values
/tools/linter-rules/no_duplicate_case_values.html - no_leading_underscores_for_library_prefixes
/tools/linter-rules/no_leading_underscores_for_library_prefixes.html - no_leading_underscores_for_local_identifiers
/tools/linter-rules/no_leading_underscores_for_local_identifiers.html - no_literal_bool_comparisons
/tools/linter-rules/no_literal_bool_comparisons.html - no_logic_in_create_state
/tools/linter-rules/no_logic_in_create_state.html - no_runtimeType_toString
/tools/linter-rules/no_runtimeType_toString.html - no_self_assignments
/tools/linter-rules/no_self_assignments.html - no_wildcard_variable_uses
/tools/linter-rules/no_wildcard_variable_uses.html - non_constant_identifier_names
/tools/linter-rules/non_constant_identifier_names.html - noop_primitive_operations
/tools/linter-rules/noop_primitive_operations.html - null_check_on_nullable_type_parameter
/tools/linter-rules/null_check_on_nullable_type_parameter.html - null_closures
/tools/linter-rules/null_closures.html - omit_local_variable_types
/tools/linter-rules/omit_local_variable_types.html - omit_obvious_local_variable_types
/tools/linter-rules/omit_obvious_local_variable_types.html - omit_obvious_property_types
/tools/linter-rules/omit_obvious_property_types.html - one_member_abstracts
/tools/linter-rules/one_member_abstracts.html - only_throw_errors
/tools/linter-rules/only_throw_errors.html - overridden_fields
/tools/linter-rules/overridden_fields.html - package_api_docs
/tools/linter-rules/package_api_docs.html - package_names
/tools/linter-rules/package_names.html - package_prefixed_library_names
/tools/linter-rules/package_prefixed_library_names.html - parameter_assignments
/tools/linter-rules/parameter_assignments.html - prefer_adjacent_string_concatenation
/tools/linter-rules/prefer_adjacent_string_concatenation.html - prefer_asserts_in_initializer_lists
/tools/linter-rules/prefer_asserts_in_initializer_lists.html - prefer_asserts_with_message
/tools/linter-rules/prefer_asserts_with_message.html - prefer_bool_in_asserts
/tools/linter-rules/prefer_bool_in_asserts.html - prefer_collection_literals
/tools/linter-rules/prefer_collection_literals.html - prefer_conditional_assignment
/tools/linter-rules/prefer_conditional_assignment.html - prefer_const_constructors
/tools/linter-rules/prefer_const_constructors.html - prefer_const_constructors_in_immutables
/tools/linter-rules/prefer_const_constructors_in_immutables.html - prefer_const_declarations
/tools/linter-rules/prefer_const_declarations.html - prefer_const_literals_to_create_immutables
/tools/linter-rules/prefer_const_literals_to_create_immutables.html - prefer_constructors_over_static_methods
/tools/linter-rules/prefer_constructors_over_static_methods.html - prefer_contains
/tools/linter-rules/prefer_contains.html - prefer_double_quotes
/tools/linter-rules/prefer_double_quotes.html - prefer_equal_for_default_values
/tools/linter-rules/prefer_equal_for_default_values.html - prefer_expression_function_bodies
/tools/linter-rules/prefer_expression_function_bodies.html - prefer_final_fields
/tools/linter-rules/prefer_final_fields.html - prefer_final_in_for_each
/tools/linter-rules/prefer_final_in_for_each.html - prefer_final_locals
/tools/linter-rules/prefer_final_locals.html - prefer_final_parameters
/tools/linter-rules/prefer_final_parameters.html - prefer_for_elements_to_map_fromIterable
/tools/linter-rules/prefer_for_elements_to_map_fromIterable.html - prefer_foreach
/tools/linter-rules/prefer_foreach.html - prefer_function_declarations_over_variables
/tools/linter-rules/prefer_function_declarations_over_variables.html - prefer_generic_function_type_aliases
/tools/linter-rules/prefer_generic_function_type_aliases.html - prefer_if_elements_to_conditional_expressions
/tools/linter-rules/prefer_if_elements_to_conditional_expressions.html - prefer_if_null_operators
/tools/linter-rules/prefer_if_null_operators.html - prefer_initializing_formals
/tools/linter-rules/prefer_initializing_formals.html - prefer_inlined_adds
/tools/linter-rules/prefer_inlined_adds.html - prefer_int_literals
/tools/linter-rules/prefer_int_literals.html - prefer_interpolation_to_compose_strings
/tools/linter-rules/prefer_interpolation_to_compose_strings.html - prefer_is_empty
/tools/linter-rules/prefer_is_empty.html - prefer_is_not_empty
/tools/linter-rules/prefer_is_not_empty.html - prefer_is_not_operator
/tools/linter-rules/prefer_is_not_operator.html - prefer_iterable_whereType
/tools/linter-rules/prefer_iterable_whereType.html - prefer_mixin
/tools/linter-rules/prefer_mixin.html - prefer_null_aware_method_calls
/tools/linter-rules/prefer_null_aware_method_calls.html - prefer_null_aware_operators
/tools/linter-rules/prefer_null_aware_operators.html - prefer_relative_imports
/tools/linter-rules/prefer_relative_imports.html - prefer_single_quotes
/tools/linter-rules/prefer_single_quotes.html - prefer_spread_collections
/tools/linter-rules/prefer_spread_collections.html - prefer_typing_uninitialized_variables
/tools/linter-rules/prefer_typing_uninitialized_variables.html - prefer_void_to_null
/tools/linter-rules/prefer_void_to_null.html - provide_deprecation_message
/tools/linter-rules/provide_deprecation_message.html - public_member_api_docs
/tools/linter-rules/public_member_api_docs.html - recursive_getters
/tools/linter-rules/recursive_getters.html - require_trailing_commas
/tools/linter-rules/require_trailing_commas.html - secure_pubspec_urls
/tools/linter-rules/secure_pubspec_urls.html - sized_box_for_whitespace
/tools/linter-rules/sized_box_for_whitespace.html - sized_box_shrink_expand
/tools/linter-rules/sized_box_shrink_expand.html - slash_for_doc_comments
/tools/linter-rules/slash_for_doc_comments.html - sort_child_properties_last
/tools/linter-rules/sort_child_properties_last.html - sort_constructors_first
/tools/linter-rules/sort_constructors_first.html - sort_pub_dependencies
/tools/linter-rules/sort_pub_dependencies.html - sort_unnamed_constructors_first
/tools/linter-rules/sort_unnamed_constructors_first.html - specify_nonobvious_local_variable_types
/tools/linter-rules/specify_nonobvious_local_variable_types.html - specify_nonobvious_property_types
/tools/linter-rules/specify_nonobvious_property_types.html - super_goes_last
/tools/linter-rules/super_goes_last.html - test_types_in_equals
/tools/linter-rules/test_types_in_equals.html - throw_in_finally
/tools/linter-rules/throw_in_finally.html - tighten_type_of_initializing_formals
/tools/linter-rules/tighten_type_of_initializing_formals.html - type_annotate_public_apis
/tools/linter-rules/type_annotate_public_apis.html - type_init_formals
/tools/linter-rules/type_init_formals.html - type_literal_in_constant_pattern
/tools/linter-rules/type_literal_in_constant_pattern.html - unawaited_futures
/tools/linter-rules/unawaited_futures.html - unintended_html_in_doc_comment
/tools/linter-rules/unintended_html_in_doc_comment.html - unnecessary_await_in_return
/tools/linter-rules/unnecessary_await_in_return.html - unnecessary_brace_in_string_interps
/tools/linter-rules/unnecessary_brace_in_string_interps.html - unnecessary_breaks
/tools/linter-rules/unnecessary_breaks.html - unnecessary_const
/tools/linter-rules/unnecessary_const.html - unnecessary_constructor_name
/tools/linter-rules/unnecessary_constructor_name.html - unnecessary_final
/tools/linter-rules/unnecessary_final.html - unnecessary_getters_setters
/tools/linter-rules/unnecessary_getters_setters.html - unnecessary_lambdas
/tools/linter-rules/unnecessary_lambdas.html - unnecessary_late
/tools/linter-rules/unnecessary_late.html - unnecessary_library_directive
/tools/linter-rules/unnecessary_library_directive.html - unnecessary_library_name
/tools/linter-rules/unnecessary_library_name.html - unnecessary_new
/tools/linter-rules/unnecessary_new.html - unnecessary_null_aware_assignments
/tools/linter-rules/unnecessary_null_aware_assignments.html - unnecessary_null_aware_operator_on_extension_on_nullable
/tools/linter-rules/unnecessary_null_aware_operator_on_extension_on_nullable.html - unnecessary_null_checks
/tools/linter-rules/unnecessary_null_checks.html - unnecessary_null_in_if_null_operators
/tools/linter-rules/unnecessary_null_in_if_null_operators.html - unnecessary_nullable_for_final_variable_declarations
/tools/linter-rules/unnecessary_nullable_for_final_variable_declarations.html - unnecessary_overrides
/tools/linter-rules/unnecessary_overrides.html - unnecessary_parenthesis
/tools/linter-rules/unnecessary_parenthesis.html - unnecessary_raw_strings
/tools/linter-rules/unnecessary_raw_strings.html - unnecessary_statements
/tools/linter-rules/unnecessary_statements.html - unnecessary_string_escapes
/tools/linter-rules/unnecessary_string_escapes.html - unnecessary_string_interpolations
/tools/linter-rules/unnecessary_string_interpolations.html - unnecessary_this
/tools/linter-rules/unnecessary_this.html - unnecessary_to_list_in_spreads
/tools/linter-rules/unnecessary_to_list_in_spreads.html - unreachable_from_main
/tools/linter-rules/unreachable_from_main.html - unrelated_type_equality_checks
/tools/linter-rules/unrelated_type_equality_checks.html - unsafe_html
/tools/linter-rules/unsafe_html.html - unsafe_variance
/tools/linter-rules/unsafe_variance.html - use_build_context_synchronously
/tools/linter-rules/use_build_context_synchronously.html - use_colored_box
/tools/linter-rules/use_colored_box.html - use_decorated_box
/tools/linter-rules/use_decorated_box.html - use_enums
/tools/linter-rules/use_enums.html - use_full_hex_values_for_flutter_colors
/tools/linter-rules/use_full_hex_values_for_flutter_colors.html - use_function_type_syntax_for_parameters
/tools/linter-rules/use_function_type_syntax_for_parameters.html - use_if_null_to_convert_nulls_to_bools
/tools/linter-rules/use_if_null_to_convert_nulls_to_bools.html - use_is_even_rather_than_modulo
/tools/linter-rules/use_is_even_rather_than_modulo.html - use_key_in_widget_constructors
/tools/linter-rules/use_key_in_widget_constructors.html - use_late_for_private_fields_and_variables
/tools/linter-rules/use_late_for_private_fields_and_variables.html - use_named_constants
/tools/linter-rules/use_named_constants.html - use_raw_strings
/tools/linter-rules/use_raw_strings.html - use_rethrow_when_possible
/tools/linter-rules/use_rethrow_when_possible.html - use_setters_to_change_properties
/tools/linter-rules/use_setters_to_change_properties.html - use_string_buffers
/tools/linter-rules/use_string_buffers.html - use_string_in_part_of_directives
/tools/linter-rules/use_string_in_part_of_directives.html - use_super_parameters
/tools/linter-rules/use_super_parameters.html - use_test_throws_matchers
/tools/linter-rules/use_test_throws_matchers.html - use_to_and_as_if_applicable
/tools/linter-rules/use_to_and_as_if_applicable.html - use_truncating_division
/tools/linter-rules/use_truncating_division.html - valid_regexps
/tools/linter-rules/valid_regexps.html - void_checks
/tools/linter-rules/void_checks.html - “Effective Dart:文档”
/effective-dart/documentation/ - “Effective Dart:用法”
/effective-dart/usage/ - “使用 package:ffigen 进行 Objective-C 和 Swift 互操作”
/interop/objective-c-interop/ - “异步编程:future、async、await”
/libraries/async/async-await/ - “异步编程:流”
/libraries/async/using-streams/ - “有效的 Dart:设计”
/effective-dart/design/ - “有效的 Dart:风格”
/effective-dart/style/ - “空安全:常见问题解答”
/null-safety/faq/ - 不健全的空安全
/null-safety/unsound-null-safety/ - 使用 Google API
/resources/google-apis/ - 使用 JSON
/guides/json/ - 使用 dart:ffi 进行 C 互操作
/interop/c-interop/ - 使用 package:jnigen 进行 Java 互操作
/interop/java-interop/ - 使用编译环境声明配置应用
/guides/environment-declarations/ - 修复常见的类型问题
/deprecated/sound-problems/ - 修复常见的类型问题
/guides/language/sound-problems/ - 修复类型提升失败
/tools/non-promotion-reasons/ - 健全的空安全
/null-safety/ - 元数据
/language/metadata/ - 关于 Dart 的书籍
/resources/books/ - 关键字
/language/keywords/ - 函数
/language/functions/ - 分支
/language/branches/ - 区域
/libraries/async/zones/ - 变量
/language/variables/ - 在 Dart 中创建流
/libraries/async/creating-streams/ - 多平台应用
/multiplatform-apps/ - 如何模拟 JavaScript 互操作对象
/interop/js-interop/mock/ - 宏(实验性)
/language/macros/ - 常用包
/resources/useful-packages/ - 库与导入
/language/libraries/ - 循环
/language/loops/ - 新增内容
/resources/whats-new/ - 方法
/language/methods/ - 模式
/language/patterns/ - 模式类型
/language/pattern-types/ - 泛型
/language/generics/ - 理解空安全
/null-safety/understanding-null-safety/ - 社区和支持
/community/ - 类修饰符参考
/language/modifier-reference/ - 类型别名
/language/typedefs/ - 视频
/resources/videos/ - 记录
/language/records/ - 词汇表
/resources/glossary/ - 资源
/resources/ - 转换器和编解码器
/libraries/convert/converters-and-codecs/ - 内置类型
/language/built-in-types/ - 可调用对象
/language/callable-objects/ - 异步支持
/language/async/ - 扩展方法
/language/extension-methods/ - 扩展类
/language/extend/ - 扩展类型
/language/extension-types/ - 构造函数
/language/constructors/ - 枚举类型
/language/enums/ - 概述:Dart 语言
/guides/language/ - 注释
/language/comments/ - 用法
/interop/js-interop/usage/ - 类
/language/classes/ - 类修饰符
/language/class-modifiers/ - 获取 Dart SDK
/get-dart/ - 行为准则
/community/code-of-conduct/ - 谁在使用 Dart
/community/who-uses-dart/ - 迁移到 package:web
/interop/js-interop/package-web/ - 迁移到空安全
/null-safety/migration-guide/ - 过去的 JS 互操作
/interop/js-interop/past-js-interop/ - 运算符
/language/operators/ - 重大更改和弃用
/resources/breaking-changes/ - 错误处理
/language/error-handling/ - 隔离区
/language/isolates/ - 集合
/language/collections/ - 面向 API 维护者的类修饰符
/language/class-modifiers-for-apis/ - 高效 Dart
/effective-dart/ - Dart DevTools
/tools/dart-devtools/ - DartPad
/tools/dartpad/ - DartPad 疑难解答
/tools/dartpad/troubleshoot/ - DartPad 隐私声明
/tools/dartpad/privacy/ - IntelliJ 和 Android Studio
/tools/jetbrains-plugin/ - Search dart.dev
/search/ - Search more sites
/search-all/ - always_declare_return_types
/tools/linter-rules/always_declare_return_types.html - always_put_control_body_on_new_line
/tools/linter-rules/always_put_control_body_on_new_line.html - always_put_required_named_parameters_first
/tools/linter-rules/always_put_required_named_parameters_first.html - always_require_non_null_named_parameters
/tools/linter-rules/always_require_non_null_named_parameters.html - always_specify_types
/tools/linter-rules/always_specify_types.html - always_use_package_imports
/tools/linter-rules/always_use_package_imports.html - annotate_overrides
/tools/linter-rules/annotate_overrides.html - annotate_redeclares
/tools/linter-rules/annotate_redeclares.html - avoid_annotating_with_dynamic
/tools/linter-rules/avoid_annotating_with_dynamic.html - avoid_as
/tools/linter-rules/avoid_as.html - avoid_bool_literals_in_conditional_expressions
/tools/linter-rules/avoid_bool_literals_in_conditional_expressions.html - avoid_catches_without_on_clauses
/tools/linter-rules/avoid_catches_without_on_clauses.html - avoid_catching_errors
/tools/linter-rules/avoid_catching_errors.html - avoid_classes_with_only_static_members
/tools/linter-rules/avoid_classes_with_only_static_members.html - avoid_double_and_int_checks
/tools/linter-rules/avoid_double_and_int_checks.html - avoid_dynamic_calls
/tools/linter-rules/avoid_dynamic_calls.html - avoid_empty_else
/tools/linter-rules/avoid_empty_else.html - avoid_equals_and_hash_code_on_mutable_classes
/tools/linter-rules/avoid_equals_and_hash_code_on_mutable_classes.html - build_runner
/tools/build_runner/ - dart analyze
/tools/dart-analyze/ - dart compile
/tools/dart-compile/ - dart create
/tools/dart-create/ - dart doc
/tools/dart-doc/ - dart fix
/tools/dart-fix/ - dart format
/tools/dart-format/ - dart info
/tools/dart-info/ - dart run
/tools/dart-run/ - dart test
/tools/dart-test/ - dart2js:Dart 到 JavaScript 编译器
/tools/dart2js/ - dartaotruntime
/tools/dartaotruntime/ - dartdevc:Dart 开发编译器
/tools/dartdevc/ - dart:Dart 命令行工具
/tools/dart-tool/ - 代码分析器规则
/tools/linter-rules/ - 使用 Google Cloud
/server/google-cloud/ - 命令行和服务器库及包
/server/libraries/ - 命令行和服务器应用
/server/ - 安全性
/security/ - 所有代码检查规则
/tools/linter-rules/all/ - 独立 Dart VM 的原生扩展
/server/c-interop-native-extensions/ - Dart SDK 概述
/tools/sdk/ - Pub 工作区(monorepo 支持)
/tools/pub/workspaces/ - Visual Studio Code
/tools/vs-code/ - Web 平台
/web/ - Web 库和包
/web/libraries/ - Web 部署
/web/deployment/ - WebAssembly (Wasm) 编译
/web/wasm/ - dart pub
/tools/pub/cmd/ - dart pub add
/tools/pub/cmd/pub-add/ - dart pub bump
/tools/pub/cmd/pub-bump/ - dart pub cache
/tools/pub/cmd/pub-cache/ - dart pub deps
/tools/pub/cmd/pub-deps/ - dart pub downgrade
/tools/pub/cmd/pub-downgrade/ - dart pub get
/tools/pub/cmd/pub-get/ - dart pub global
/tools/pub/cmd/pub-global/ - dart pub outdated
/tools/pub/cmd/pub-outdated/ - dart pub publish
/tools/pub/cmd/pub-lish/ - dart pub remove
/tools/pub/cmd/pub-remove/ - dart pub token
/tools/pub/cmd/pub-token/ - dart pub unpack
/tools/pub/cmd/pub-unpack/ - dart pub upgrade
/tools/pub/cmd/pub-upgrade/ - pub 疑难解答
/tools/pub/troubleshoot/ - pubspec 文件
/tools/pub/pubspec/ - webdev
/tools/webdev/ - “入门:命令行和服务器应用程序”
/tutorials/server/get-started/ - 不应提交的内容
/tools/pub/private-files/ - 从互联网获取数据
/tutorials/server/fetch-data/ - 使用 Dart 构建 Web 应用
/web/get-started/ - 创建包
/tools/pub/create-packages/ - 包依赖项
/tools/pub/dependencies/ - 包布局约定
/tools/pub/package-layout/ - 包术语词汇表
/tools/pub/glossary/ - 包版本控制
/tools/pub/versioning/ - 发布包
/tools/pub/publishing/ - 如何使用包
/tools/pub/packages/ - 安全公告
/tools/pub/security-advisories/ - 实验标志
/tools/experiment-flags/ - 工具
/tools/ - 教程
/tutorials/ - 教程:命令行应用和服务器
/tutorials/server/ - 文档注释引用
/tools/doc-comments/references/ - 编写 HTTP 服务器
/tutorials/server/httpserver/ - 编写包页面
/tools/pub/writing-package-pages/ - 编写命令行应用程序
/tutorials/server/cmdline/ - 自动将软件包发布到 pub.dev
/tools/pub/automated-publishing/ - 自定义包仓库
/tools/pub/custom-package-repositories/ - 自定义静态分析
/tools/analysis/ - 诊断信息
/tools/diagnostic-messages/ - 调试 Dart Web 应用
/web/debugging/ - 配置 pub 环境变量
/tools/pub/environment-variables/ - 验证发布者
/tools/pub/verified-publishers/
除非另有说明,否则本网站上的文档反映的是 Dart 3.6.0。页面最后更新于 2025-02-05。 查看源代码 或 报告问题.