├── .github ├── dependabot.yml └── workflows │ ├── container_docker_test.yml │ └── dart.yml ├── .gitignore ├── AUTHORS ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── command_line ├── .gitignore ├── README.md ├── analysis_options.yaml ├── bin │ └── github_activity.dart ├── lib │ ├── github_activity.dart │ └── src │ │ ├── formatter.dart │ │ ├── options.dart │ │ ├── options.g.dart │ │ └── util.dart ├── mono_pkg.yaml ├── pubspec.yaml └── test │ └── github_stats_test.dart ├── enhanced_enums ├── .gitignore ├── README.md ├── analysis_options.yaml ├── lib │ ├── comparable.dart │ ├── comparable_mixin.dart │ ├── complete_example.dart │ ├── members.dart │ ├── plain.dart │ └── typed_enum.dart ├── mono_pkg.yaml ├── pubspec.yaml └── test │ ├── comparable_mixin_test.dart │ ├── comparable_test.dart │ ├── complete_example_test.dart │ ├── members_test.dart │ ├── plain_test.dart │ └── typed_enum_test.dart ├── extension_methods ├── .gitignore ├── README.md ├── analysis_options.yaml ├── example │ ├── code_generation.dart │ ├── core_type_extensions.dart │ ├── fluid_api.dart │ ├── generics.dart │ ├── getter_extensions.dart │ ├── json_helpers.dart │ ├── operator_extensions.dart │ └── privacy_destination.dart ├── lib │ ├── privacy_source.dart │ └── some_api.dart ├── mono_pkg.yaml ├── pubspec.yaml └── test │ └── first_char_test.dart ├── ffi ├── .gitignore ├── README.md ├── hello_world │ ├── .dockerignore │ ├── analysis_options.yaml │ ├── hello.dart │ ├── hello_library │ │ ├── .gitignore │ │ ├── CMakeLists.txt │ │ ├── hello.c │ │ ├── hello.def │ │ └── hello.h │ ├── mono_pkg.yaml │ ├── pubspec.yaml │ ├── setup.sh │ └── test │ │ └── hello_world_test.dart ├── primitives │ ├── analysis_options.yaml │ ├── mono_pkg.yaml │ ├── primitives.dart │ ├── primitives_library │ │ ├── CMakeLists.txt │ │ ├── primitives.c │ │ ├── primitives.def │ │ └── primitives.h │ ├── pubspec.yaml │ └── test │ │ └── primitives_test.dart ├── structs │ ├── analysis_options.yaml │ ├── mono_pkg.yaml │ ├── pubspec.yaml │ ├── structs.dart │ ├── structs_library │ │ ├── CMakeLists.txt │ │ ├── structs.c │ │ ├── structs.def │ │ └── structs.h │ └── test │ │ └── structs_test.dart ├── system_command │ ├── README.md │ ├── analysis_options.yaml │ ├── linux.dart │ ├── macos.dart │ ├── mono_pkg.yaml │ ├── pubspec.yaml │ ├── win32ui.dart │ └── windows.dart └── test_utils │ ├── analysis_options.yaml │ ├── lib │ └── test_utils.dart │ ├── mono_pkg.yaml │ └── pubspec.yaml ├── isolates ├── .gitignore ├── README.md ├── analysis_options.yaml ├── bin │ ├── long_running_isolate.dart │ └── send_and_receive.dart ├── json_01.json ├── json_02.json ├── json_03.json ├── mono_pkg.yaml └── pubspec.yaml ├── mono_repo.yaml ├── native_app ├── .gitignore ├── README.md ├── analysis_options.yaml ├── bin │ └── main.dart ├── mono_pkg.yaml └── pubspec.yaml ├── null_safety └── calculate_lix │ ├── .gitignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── analysis_options.yaml │ ├── bin │ └── main.dart │ ├── lib │ └── lix.dart │ ├── mono_pkg.yaml │ ├── pubspec.yaml │ └── text │ └── lorem-ipsum.txt ├── package_constraint_solver ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── analysis_options.yaml ├── example │ ├── example.dart │ └── scheduler_example.dart ├── lib │ └── constraint_solver.dart ├── mono_pkg.yaml ├── pubspec.yaml └── test │ └── constraint_solver_test.dart ├── parameters ├── .gitignore ├── README.md ├── analysis_options.yaml ├── lib │ ├── named_parameters.dart │ └── super_initalizer.dart ├── mono_pkg.yaml ├── pubspec.yaml └── test │ ├── named_parameters_test.dart │ └── super_initializer_test.dart ├── server ├── README.md ├── google_apis │ ├── .gitignore │ ├── Dockerfile │ ├── README.md │ ├── analysis_options.yaml │ ├── bin │ │ └── server.dart │ ├── mono_pkg.yaml │ └── pubspec.yaml └── simple │ ├── .gitignore │ ├── Dockerfile │ ├── README.md │ ├── analysis_options.yaml │ ├── bin │ └── server.dart │ ├── dart_test.yaml │ ├── mono_pkg.yaml │ ├── public │ ├── 64.png │ ├── dashland.jpeg │ └── index.html │ ├── pubspec.yaml │ ├── test │ ├── docker_test.dart │ ├── server_test.dart │ └── test_definitions.dart │ └── tool │ └── docker_test_script.sh └── tool └── ci.sh /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/container_docker_test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/.github/workflows/container_docker_test.yml -------------------------------------------------------------------------------- /.github/workflows/dart.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/.github/workflows/dart.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/.gitignore -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/AUTHORS -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/README.md -------------------------------------------------------------------------------- /command_line/.gitignore: -------------------------------------------------------------------------------- 1 | .dart_tool/ 2 | pubspec.lock 3 | build/ 4 | doc/api/ 5 | -------------------------------------------------------------------------------- /command_line/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/command_line/README.md -------------------------------------------------------------------------------- /command_line/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:lints/recommended.yaml 2 | -------------------------------------------------------------------------------- /command_line/bin/github_activity.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/command_line/bin/github_activity.dart -------------------------------------------------------------------------------- /command_line/lib/github_activity.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/command_line/lib/github_activity.dart -------------------------------------------------------------------------------- /command_line/lib/src/formatter.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/command_line/lib/src/formatter.dart -------------------------------------------------------------------------------- /command_line/lib/src/options.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/command_line/lib/src/options.dart -------------------------------------------------------------------------------- /command_line/lib/src/options.g.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/command_line/lib/src/options.g.dart -------------------------------------------------------------------------------- /command_line/lib/src/util.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/command_line/lib/src/util.dart -------------------------------------------------------------------------------- /command_line/mono_pkg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/command_line/mono_pkg.yaml -------------------------------------------------------------------------------- /command_line/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/command_line/pubspec.yaml -------------------------------------------------------------------------------- /command_line/test/github_stats_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/command_line/test/github_stats_test.dart -------------------------------------------------------------------------------- /enhanced_enums/.gitignore: -------------------------------------------------------------------------------- 1 | .dart_tool/ 2 | pubspec.lock 3 | build/ 4 | doc/api/ 5 | -------------------------------------------------------------------------------- /enhanced_enums/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/enhanced_enums/README.md -------------------------------------------------------------------------------- /enhanced_enums/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:lints/recommended.yaml 2 | -------------------------------------------------------------------------------- /enhanced_enums/lib/comparable.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/enhanced_enums/lib/comparable.dart -------------------------------------------------------------------------------- /enhanced_enums/lib/comparable_mixin.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/enhanced_enums/lib/comparable_mixin.dart -------------------------------------------------------------------------------- /enhanced_enums/lib/complete_example.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/enhanced_enums/lib/complete_example.dart -------------------------------------------------------------------------------- /enhanced_enums/lib/members.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/enhanced_enums/lib/members.dart -------------------------------------------------------------------------------- /enhanced_enums/lib/plain.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/enhanced_enums/lib/plain.dart -------------------------------------------------------------------------------- /enhanced_enums/lib/typed_enum.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/enhanced_enums/lib/typed_enum.dart -------------------------------------------------------------------------------- /enhanced_enums/mono_pkg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/enhanced_enums/mono_pkg.yaml -------------------------------------------------------------------------------- /enhanced_enums/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/enhanced_enums/pubspec.yaml -------------------------------------------------------------------------------- /enhanced_enums/test/comparable_mixin_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/enhanced_enums/test/comparable_mixin_test.dart -------------------------------------------------------------------------------- /enhanced_enums/test/comparable_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/enhanced_enums/test/comparable_test.dart -------------------------------------------------------------------------------- /enhanced_enums/test/complete_example_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/enhanced_enums/test/complete_example_test.dart -------------------------------------------------------------------------------- /enhanced_enums/test/members_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/enhanced_enums/test/members_test.dart -------------------------------------------------------------------------------- /enhanced_enums/test/plain_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/enhanced_enums/test/plain_test.dart -------------------------------------------------------------------------------- /enhanced_enums/test/typed_enum_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/enhanced_enums/test/typed_enum_test.dart -------------------------------------------------------------------------------- /extension_methods/.gitignore: -------------------------------------------------------------------------------- 1 | .dart_tool/ 2 | pubspec.lock 3 | build/ 4 | doc/api/ 5 | .idea/ 6 | -------------------------------------------------------------------------------- /extension_methods/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/extension_methods/README.md -------------------------------------------------------------------------------- /extension_methods/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:lints/recommended.yaml 2 | -------------------------------------------------------------------------------- /extension_methods/example/code_generation.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/extension_methods/example/code_generation.dart -------------------------------------------------------------------------------- /extension_methods/example/core_type_extensions.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/extension_methods/example/core_type_extensions.dart -------------------------------------------------------------------------------- /extension_methods/example/fluid_api.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/extension_methods/example/fluid_api.dart -------------------------------------------------------------------------------- /extension_methods/example/generics.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/extension_methods/example/generics.dart -------------------------------------------------------------------------------- /extension_methods/example/getter_extensions.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/extension_methods/example/getter_extensions.dart -------------------------------------------------------------------------------- /extension_methods/example/json_helpers.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/extension_methods/example/json_helpers.dart -------------------------------------------------------------------------------- /extension_methods/example/operator_extensions.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/extension_methods/example/operator_extensions.dart -------------------------------------------------------------------------------- /extension_methods/example/privacy_destination.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/extension_methods/example/privacy_destination.dart -------------------------------------------------------------------------------- /extension_methods/lib/privacy_source.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/extension_methods/lib/privacy_source.dart -------------------------------------------------------------------------------- /extension_methods/lib/some_api.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/extension_methods/lib/some_api.dart -------------------------------------------------------------------------------- /extension_methods/mono_pkg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/extension_methods/mono_pkg.yaml -------------------------------------------------------------------------------- /extension_methods/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/extension_methods/pubspec.yaml -------------------------------------------------------------------------------- /extension_methods/test/first_char_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/extension_methods/test/first_char_test.dart -------------------------------------------------------------------------------- /ffi/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/.gitignore -------------------------------------------------------------------------------- /ffi/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/README.md -------------------------------------------------------------------------------- /ffi/hello_world/.dockerignore: -------------------------------------------------------------------------------- 1 | hello_library/CMakeCache.txt 2 | -------------------------------------------------------------------------------- /ffi/hello_world/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:lints/recommended.yaml 2 | -------------------------------------------------------------------------------- /ffi/hello_world/hello.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/hello_world/hello.dart -------------------------------------------------------------------------------- /ffi/hello_world/hello_library/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/hello_world/hello_library/.gitignore -------------------------------------------------------------------------------- /ffi/hello_world/hello_library/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/hello_world/hello_library/CMakeLists.txt -------------------------------------------------------------------------------- /ffi/hello_world/hello_library/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/hello_world/hello_library/hello.c -------------------------------------------------------------------------------- /ffi/hello_world/hello_library/hello.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/hello_world/hello_library/hello.def -------------------------------------------------------------------------------- /ffi/hello_world/hello_library/hello.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/hello_world/hello_library/hello.h -------------------------------------------------------------------------------- /ffi/hello_world/mono_pkg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/hello_world/mono_pkg.yaml -------------------------------------------------------------------------------- /ffi/hello_world/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/hello_world/pubspec.yaml -------------------------------------------------------------------------------- /ffi/hello_world/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/hello_world/setup.sh -------------------------------------------------------------------------------- /ffi/hello_world/test/hello_world_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/hello_world/test/hello_world_test.dart -------------------------------------------------------------------------------- /ffi/primitives/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:lints/recommended.yaml 2 | -------------------------------------------------------------------------------- /ffi/primitives/mono_pkg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/primitives/mono_pkg.yaml -------------------------------------------------------------------------------- /ffi/primitives/primitives.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/primitives/primitives.dart -------------------------------------------------------------------------------- /ffi/primitives/primitives_library/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/primitives/primitives_library/CMakeLists.txt -------------------------------------------------------------------------------- /ffi/primitives/primitives_library/primitives.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/primitives/primitives_library/primitives.c -------------------------------------------------------------------------------- /ffi/primitives/primitives_library/primitives.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/primitives/primitives_library/primitives.def -------------------------------------------------------------------------------- /ffi/primitives/primitives_library/primitives.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/primitives/primitives_library/primitives.h -------------------------------------------------------------------------------- /ffi/primitives/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/primitives/pubspec.yaml -------------------------------------------------------------------------------- /ffi/primitives/test/primitives_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/primitives/test/primitives_test.dart -------------------------------------------------------------------------------- /ffi/structs/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:lints/recommended.yaml 2 | -------------------------------------------------------------------------------- /ffi/structs/mono_pkg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/structs/mono_pkg.yaml -------------------------------------------------------------------------------- /ffi/structs/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/structs/pubspec.yaml -------------------------------------------------------------------------------- /ffi/structs/structs.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/structs/structs.dart -------------------------------------------------------------------------------- /ffi/structs/structs_library/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/structs/structs_library/CMakeLists.txt -------------------------------------------------------------------------------- /ffi/structs/structs_library/structs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/structs/structs_library/structs.c -------------------------------------------------------------------------------- /ffi/structs/structs_library/structs.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/structs/structs_library/structs.def -------------------------------------------------------------------------------- /ffi/structs/structs_library/structs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/structs/structs_library/structs.h -------------------------------------------------------------------------------- /ffi/structs/test/structs_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/structs/test/structs_test.dart -------------------------------------------------------------------------------- /ffi/system_command/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/system_command/README.md -------------------------------------------------------------------------------- /ffi/system_command/analysis_options.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/system_command/analysis_options.yaml -------------------------------------------------------------------------------- /ffi/system_command/linux.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/system_command/linux.dart -------------------------------------------------------------------------------- /ffi/system_command/macos.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/system_command/macos.dart -------------------------------------------------------------------------------- /ffi/system_command/mono_pkg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/system_command/mono_pkg.yaml -------------------------------------------------------------------------------- /ffi/system_command/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/system_command/pubspec.yaml -------------------------------------------------------------------------------- /ffi/system_command/win32ui.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/system_command/win32ui.dart -------------------------------------------------------------------------------- /ffi/system_command/windows.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/system_command/windows.dart -------------------------------------------------------------------------------- /ffi/test_utils/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:lints/recommended.yaml 2 | -------------------------------------------------------------------------------- /ffi/test_utils/lib/test_utils.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/test_utils/lib/test_utils.dart -------------------------------------------------------------------------------- /ffi/test_utils/mono_pkg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/test_utils/mono_pkg.yaml -------------------------------------------------------------------------------- /ffi/test_utils/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/ffi/test_utils/pubspec.yaml -------------------------------------------------------------------------------- /isolates/.gitignore: -------------------------------------------------------------------------------- 1 | .dart_tool/ 2 | build/ 3 | pubspec.lock 4 | -------------------------------------------------------------------------------- /isolates/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/isolates/README.md -------------------------------------------------------------------------------- /isolates/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:lints/recommended.yaml 2 | -------------------------------------------------------------------------------- /isolates/bin/long_running_isolate.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/isolates/bin/long_running_isolate.dart -------------------------------------------------------------------------------- /isolates/bin/send_and_receive.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/isolates/bin/send_and_receive.dart -------------------------------------------------------------------------------- /isolates/json_01.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": "foo" 3 | } -------------------------------------------------------------------------------- /isolates/json_02.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/isolates/json_02.json -------------------------------------------------------------------------------- /isolates/json_03.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/isolates/json_03.json -------------------------------------------------------------------------------- /isolates/mono_pkg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/isolates/mono_pkg.yaml -------------------------------------------------------------------------------- /isolates/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/isolates/pubspec.yaml -------------------------------------------------------------------------------- /mono_repo.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/mono_repo.yaml -------------------------------------------------------------------------------- /native_app/.gitignore: -------------------------------------------------------------------------------- 1 | .dart_tool/ 2 | pubspec.lock 3 | build/ 4 | doc/api/ 5 | -------------------------------------------------------------------------------- /native_app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/native_app/README.md -------------------------------------------------------------------------------- /native_app/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:lints/recommended.yaml 2 | -------------------------------------------------------------------------------- /native_app/bin/main.dart: -------------------------------------------------------------------------------- 1 | void main() { 2 | print('Hello, World!'); 3 | } 4 | -------------------------------------------------------------------------------- /native_app/mono_pkg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/native_app/mono_pkg.yaml -------------------------------------------------------------------------------- /native_app/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/native_app/pubspec.yaml -------------------------------------------------------------------------------- /null_safety/calculate_lix/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/null_safety/calculate_lix/.gitignore -------------------------------------------------------------------------------- /null_safety/calculate_lix/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/null_safety/calculate_lix/CHANGELOG.md -------------------------------------------------------------------------------- /null_safety/calculate_lix/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/null_safety/calculate_lix/LICENSE -------------------------------------------------------------------------------- /null_safety/calculate_lix/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/null_safety/calculate_lix/README.md -------------------------------------------------------------------------------- /null_safety/calculate_lix/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:lints/recommended.yaml 2 | -------------------------------------------------------------------------------- /null_safety/calculate_lix/bin/main.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/null_safety/calculate_lix/bin/main.dart -------------------------------------------------------------------------------- /null_safety/calculate_lix/lib/lix.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/null_safety/calculate_lix/lib/lix.dart -------------------------------------------------------------------------------- /null_safety/calculate_lix/mono_pkg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/null_safety/calculate_lix/mono_pkg.yaml -------------------------------------------------------------------------------- /null_safety/calculate_lix/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/null_safety/calculate_lix/pubspec.yaml -------------------------------------------------------------------------------- /null_safety/calculate_lix/text/lorem-ipsum.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/null_safety/calculate_lix/text/lorem-ipsum.txt -------------------------------------------------------------------------------- /package_constraint_solver/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/package_constraint_solver/.gitignore -------------------------------------------------------------------------------- /package_constraint_solver/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/package_constraint_solver/CHANGELOG.md -------------------------------------------------------------------------------- /package_constraint_solver/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/package_constraint_solver/LICENSE -------------------------------------------------------------------------------- /package_constraint_solver/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/package_constraint_solver/README.md -------------------------------------------------------------------------------- /package_constraint_solver/analysis_options.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/package_constraint_solver/analysis_options.yaml -------------------------------------------------------------------------------- /package_constraint_solver/example/example.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/package_constraint_solver/example/example.dart -------------------------------------------------------------------------------- /package_constraint_solver/example/scheduler_example.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/package_constraint_solver/example/scheduler_example.dart -------------------------------------------------------------------------------- /package_constraint_solver/lib/constraint_solver.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/package_constraint_solver/lib/constraint_solver.dart -------------------------------------------------------------------------------- /package_constraint_solver/mono_pkg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/package_constraint_solver/mono_pkg.yaml -------------------------------------------------------------------------------- /package_constraint_solver/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/package_constraint_solver/pubspec.yaml -------------------------------------------------------------------------------- /package_constraint_solver/test/constraint_solver_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/package_constraint_solver/test/constraint_solver_test.dart -------------------------------------------------------------------------------- /parameters/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/parameters/.gitignore -------------------------------------------------------------------------------- /parameters/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/parameters/README.md -------------------------------------------------------------------------------- /parameters/analysis_options.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/parameters/analysis_options.yaml -------------------------------------------------------------------------------- /parameters/lib/named_parameters.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/parameters/lib/named_parameters.dart -------------------------------------------------------------------------------- /parameters/lib/super_initalizer.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/parameters/lib/super_initalizer.dart -------------------------------------------------------------------------------- /parameters/mono_pkg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/parameters/mono_pkg.yaml -------------------------------------------------------------------------------- /parameters/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/parameters/pubspec.yaml -------------------------------------------------------------------------------- /parameters/test/named_parameters_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/parameters/test/named_parameters_test.dart -------------------------------------------------------------------------------- /parameters/test/super_initializer_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/parameters/test/super_initializer_test.dart -------------------------------------------------------------------------------- /server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/README.md -------------------------------------------------------------------------------- /server/google_apis/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/google_apis/.gitignore -------------------------------------------------------------------------------- /server/google_apis/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/google_apis/Dockerfile -------------------------------------------------------------------------------- /server/google_apis/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/google_apis/README.md -------------------------------------------------------------------------------- /server/google_apis/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:lints/recommended.yaml 2 | -------------------------------------------------------------------------------- /server/google_apis/bin/server.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/google_apis/bin/server.dart -------------------------------------------------------------------------------- /server/google_apis/mono_pkg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/google_apis/mono_pkg.yaml -------------------------------------------------------------------------------- /server/google_apis/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/google_apis/pubspec.yaml -------------------------------------------------------------------------------- /server/simple/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/simple/.gitignore -------------------------------------------------------------------------------- /server/simple/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/simple/Dockerfile -------------------------------------------------------------------------------- /server/simple/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/simple/README.md -------------------------------------------------------------------------------- /server/simple/analysis_options.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/simple/analysis_options.yaml -------------------------------------------------------------------------------- /server/simple/bin/server.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/simple/bin/server.dart -------------------------------------------------------------------------------- /server/simple/dart_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/simple/dart_test.yaml -------------------------------------------------------------------------------- /server/simple/mono_pkg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/simple/mono_pkg.yaml -------------------------------------------------------------------------------- /server/simple/public/64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/simple/public/64.png -------------------------------------------------------------------------------- /server/simple/public/dashland.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/simple/public/dashland.jpeg -------------------------------------------------------------------------------- /server/simple/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/simple/public/index.html -------------------------------------------------------------------------------- /server/simple/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/simple/pubspec.yaml -------------------------------------------------------------------------------- /server/simple/test/docker_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/simple/test/docker_test.dart -------------------------------------------------------------------------------- /server/simple/test/server_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/simple/test/server_test.dart -------------------------------------------------------------------------------- /server/simple/test/test_definitions.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/simple/test/test_definitions.dart -------------------------------------------------------------------------------- /server/simple/tool/docker_test_script.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/server/simple/tool/docker_test_script.sh -------------------------------------------------------------------------------- /tool/ci.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dart-lang/samples/HEAD/tool/ci.sh --------------------------------------------------------------------------------