text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="FileEditorManager"> <leaf> <file leaf-file-name="main.dart" pinned="false" current-in-tab="true"> <entry file="file://$PROJECT_DIR$/lib/main.dart"> <provider selected="true" editor-type-id="text-editor"> ...
flutter/packages/flutter_tools/templates/module/common/.idea/workspace.xml.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/module/common/.idea/workspace.xml.tmpl", "repo_id": "flutter", "token_count": 604 }
839
#include "Flutter.xcconfig" #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
flutter/packages/flutter_tools/templates/module/ios/host_app_ephemeral_cocoapods/Config.tmpl/Release.xcconfig/0
{ "file_path": "flutter/packages/flutter_tools/templates/module/ios/host_app_ephemeral_cocoapods/Config.tmpl/Release.xcconfig", "repo_id": "flutter", "token_count": 41 }
840
<?xml version="1.0" encoding="UTF-8"?> <module type="JAVA_MODULE" version="4"> <component name="NewModuleRootManager" inherit-compiler-output="true"> <exclude-output /> <content url="file://$MODULE_DIR$"> <sourceFolder url="file://$MODULE_DIR$/lib" isTestSource="false" /> <sourceFolder url="file:/...
flutter/packages/flutter_tools/templates/package/projectName.iml.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/package/projectName.iml.tmpl", "repo_id": "flutter", "token_count": 350 }
841
import 'package:test/test.dart'; import 'package:{{projectName}}/{{projectName}}.dart'; void main() { test('invoke native function', () { // Tests are run in debug mode. expect(sum(24, 18), 1042); }); test('invoke async native callback', () async { expect(await sumAsync(24, 18), 42); }); }
flutter/packages/flutter_tools/templates/package_ffi/test/projectName_test.dart.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/package_ffi/test/projectName_test.dart.tmpl", "repo_id": "flutter", "token_count": 111 }
842
import Flutter import UIKit public class {{pluginClass}}: NSObject, FlutterPlugin { public static func register(with registrar: FlutterPluginRegistrar) { let channel = FlutterMethodChannel(name: "{{projectName}}", binaryMessenger: registrar.messenger()) let instance = {{pluginClass}}() registrar.addMetho...
flutter/packages/flutter_tools/templates/plugin/ios-swift.tmpl/Classes/pluginClass.swift.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/plugin/ios-swift.tmpl/Classes/pluginClass.swift.tmpl", "repo_id": "flutter", "token_count": 201 }
843
# The Flutter tooling requires that developers have a version of Visual Studio # installed that includes CMake 3.14 or later. You should not increase this # version, as doing so will cause the plugin to fail to compile for some # customers of the plugin. cmake_minimum_required(VERSION 3.14) # Project-level configurati...
flutter/packages/flutter_tools/templates/plugin/windows.tmpl/CMakeLists.txt.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/plugin/windows.tmpl/CMakeLists.txt.tmpl", "repo_id": "flutter", "token_count": 1215 }
844
# The Flutter tooling requires that developers have CMake 3.10 or later # installed. You should not increase this version, as doing so will cause # the plugin to fail to compile for some customers of the plugin. cmake_minimum_required(VERSION 3.10) project({{projectName}}_library VERSION 0.0.1 LANGUAGES C) add_librar...
flutter/packages/flutter_tools/templates/plugin_ffi/src.tmpl/CMakeLists.txt.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/plugin_ffi/src.tmpl/CMakeLists.txt.tmpl", "repo_id": "flutter", "token_count": 175 }
845
# {{projectName}} {{description}} ## Getting Started This project is a starting point for a Flutter application that follows the [simple app state management tutorial](https://flutter.dev/docs/development/data-and-backend/state-mgmt/simple). For help getting started with Flutter development, view the [online docume...
flutter/packages/flutter_tools/templates/skeleton/README.md.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/skeleton/README.md.tmpl", "repo_id": "flutter", "token_count": 256 }
846
// This is an example unit test. // // A unit test tests a single function, method, or class. To learn more about // writing unit tests, visit // https://flutter.dev/docs/cookbook/testing/unit/introduction import 'package:flutter_test/flutter_test.dart'; void main() { group('Plus Operator', () { test('should ad...
flutter/packages/flutter_tools/templates/skeleton/test/unit_test.dart.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/skeleton/test/unit_test.dart.tmpl", "repo_id": "flutter", "token_count": 129 }
847
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:fake_async/fake_async.dart'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/artifacts.dart'; im...
flutter/packages/flutter_tools/test/commands.shard/hermetic/analyze_continuously_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/commands.shard/hermetic/analyze_continuously_test.dart", "repo_id": "flutter", "token_count": 5020 }
848
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'package:args/command_runner.dart'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/android/android_sdk...
flutter/packages/flutter_tools/test/commands.shard/hermetic/config_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/commands.shard/hermetic/config_test.dart", "repo_id": "flutter", "token_count": 4320 }
849
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/android/android_device.dart'; import 'package:flutter_tools/src/...
flutter/packages/flutter_tools/test/commands.shard/hermetic/proxied_devices_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/commands.shard/hermetic/proxied_devices_test.dart", "repo_id": "flutter", "token_count": 4299 }
850
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'package:args/command_runner.dart'; import 'package:flutter_tools/src/base/logger.dart'; import 'package:flutter_tools/src/c...
flutter/packages/flutter_tools/test/commands.shard/permeable/devices_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/commands.shard/permeable/devices_test.dart", "repo_id": "flutter", "token_count": 1094 }
851
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/memory.dart'; import 'package:flutter_tools/src/android/android_device.dart'; import 'package:flutter_tools/src/android/android_sdk.da...
flutter/packages/flutter_tools/test/general.shard/android/android_install_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/android/android_install_test.dart", "repo_id": "flutter", "token_count": 4416 }
852
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/file.dart'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/android/android_sdk.dart'; import 'package:flutter_to...
flutter/packages/flutter_tools/test/general.shard/application_package_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/application_package_test.dart", "repo_id": "flutter", "token_count": 17957 }
853
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:flutter_tools/src/base/context.dart'; import '../../src/common.dart'; void main() { group('AppContext', () { ...
flutter/packages/flutter_tools/test/general.shard/base/context_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/base/context_test.dart", "repo_id": "flutter", "token_count": 4319 }
854
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_tools/src/base/platform.dart'; import 'package:flutter_tools/src/base/user_messages.dart'; import '../../src/common.dart'; typede...
flutter/packages/flutter_tools/test/general.shard/base/user_messages_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/base/user_messages_test.dart", "repo_id": "flutter", "token_count": 585 }
855
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/memory.dart'; import 'package:file_testing/file_testing.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'packa...
flutter/packages/flutter_tools/test/general.shard/build_system/targets/desktop_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/build_system/targets/desktop_test.dart", "repo_id": "flutter", "token_count": 1204 }
856
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:args/args.dart'; import 'package:args/command_runner.dart'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/artifacts....
flutter/packages/flutter_tools/test/general.shard/commands/build_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/commands/build_test.dart", "repo_id": "flutter", "token_count": 2001 }
857
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:flutter_tools/src/base/logger.dart'; import 'package:flutter_tools/src/convert.dart'; import 'package:flutter_tools/s...
flutter/packages/flutter_tools/test/general.shard/daemon_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/daemon_test.dart", "repo_id": "flutter", "token_count": 6363 }
858
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:fake_async/fake_async.dart'; import 'package:flutter_tools/src/base/io.dart'; import 'package:flutter_tools/src/conve...
flutter/packages/flutter_tools/test/general.shard/fake_process_manager_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/fake_process_manager_test.dart", "repo_id": "flutter", "token_count": 4613 }
859
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/file.dart'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/base/io.dart'; import 'package:flutter_tools/src/base...
flutter/packages/flutter_tools/test/general.shard/github_template_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/github_template_test.dart", "repo_id": "flutter", "token_count": 4375 }
860
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/file.dart'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/base/logger.dart'; import 'package:flutter_tools/src/...
flutter/packages/flutter_tools/test/general.shard/ios/ios_project_migration_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/ios/ios_project_migration_test.dart", "repo_id": "flutter", "token_count": 20853 }
861
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_tools/src/build_info.dart'; import 'package:flutter_tools/src/device.dart'; import 'package:flutter_tools/src/features.dart'; impo...
flutter/packages/flutter_tools/test/general.shard/isolated/resident_runner_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/isolated/resident_runner_test.dart", "repo_id": "flutter", "token_count": 1753 }
862
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_tools/src/localizations/gen_l10n_types.dart'; import 'package:flutter_tools/src/localizations/message_parser.dart'; import '../src/...
flutter/packages/flutter_tools/test/general.shard/message_parser_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/message_parser_test.dart", "repo_id": "flutter", "token_count": 9906 }
863
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:flutter_tools/src/base/dds.dart'; import 'package:flutter_tools/src/base/logger.dart'; import 'package:flutter_tools/...
flutter/packages/flutter_tools/test/general.shard/resident_devtools_handler_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/resident_devtools_handler_test.dart", "repo_id": "flutter", "token_count": 6117 }
864
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter_tools/src/test/test_time_recorder.dart'; import '../../src/common.dart'; import '../../src/fakes.dart'; import '../../src/logging_...
flutter/packages/flutter_tools/test/general.shard/test/test_time_recorder_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/test/test_time_recorder_test.dart", "repo_id": "flutter", "token_count": 742 }
865
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:io' hide Directory, File; import 'package:dwds/dwds.dart'; import 'package:fake_async/fake_async.dart'; import 'package:...
flutter/packages/flutter_tools/test/general.shard/web/devfs_web_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/web/devfs_web_test.dart", "repo_id": "flutter", "token_count": 20280 }
866
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/memory.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'package:flutter_tools/src/base/io.dart' show ProcessEx...
flutter/packages/flutter_tools/test/general.shard/windows/visual_studio_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/windows/visual_studio_test.dart", "repo_id": "flutter", "token_count": 13595 }
867
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'package:file/file.dart'; import 'package:flutter_tools/src/base/io.dart'; import '../src/common.dart'; import 'test_utils....
flutter/packages/flutter_tools/test/integration.shard/android_gradle_deprecated_plugin_apply_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/android_gradle_deprecated_plugin_apply_test.dart", "repo_id": "flutter", "token_count": 2154 }
868
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io'; import 'package:file_testing/file_testing.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'package:flutter_tools...
flutter/packages/flutter_tools/test/integration.shard/build_preview_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/build_preview_test.dart", "repo_id": "flutter", "token_count": 569 }
869
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/file.dart'; import 'package:vm_service/vm_service.dart'; import '../src/common.dart'; import 'test_data/basic_project.dart'; import ...
flutter/packages/flutter_tools/test/integration.shard/expression_evaluation_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/expression_evaluation_test.dart", "repo_id": "flutter", "token_count": 2527 }
870
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:file/file.dart'; import '../src/common.dart'; import 'test_data/hot_reload_with_asset.dart'; import 'test_driver.dar...
flutter/packages/flutter_tools/test/integration.shard/hot_reload_with_asset_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/hot_reload_with_asset_test.dart", "repo_id": "flutter", "token_count": 945 }
871
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import '../test_utils.dart'; import 'project.dart'; class HotReloadConstProject extends Project { @override final String pubspec = ''' name: test ...
flutter/packages/flutter_tools/test/integration.shard/test_data/hot_reload_const_project.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/test_data/hot_reload_const_project.dart", "repo_id": "flutter", "token_count": 546 }
872
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/file.dart'; import 'package:file/local.dart'; import 'package:flutter_tools/src/base/io.dart'; import 'package:flutter_tools/src/base/...
flutter/packages/flutter_tools/test/integration.shard/test_utils.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/test_utils.dart", "repo_id": "flutter", "token_count": 2365 }
873
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'dart:io' as io show Process, ProcessResult, ProcessSignal, ProcessStartMode, systemEncoding; import 'p...
flutter/packages/flutter_tools/test/src/fake_process_manager.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/src/fake_process_manager.dart", "repo_id": "flutter", "token_count": 5366 }
874
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file/file.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'package:vm_service/vm_service.dart'; import '../integra...
flutter/packages/flutter_tools/test/web.shard/output_web_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/web.shard/output_web_test.dart", "repo_id": "flutter", "token_count": 647 }
875
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:fuchsia_remote_debug_protocol/fuchsia_remote_debug_protocol.dart'; import 'package:test/fake.dart'; import 'package:test/test.dart'; import...
flutter/packages/fuchsia_remote_debug_protocol/test/fuchsia_remote_connection_test.dart/0
{ "file_path": "flutter/packages/fuchsia_remote_debug_protocol/test/fuchsia_remote_connection_test.dart", "repo_id": "flutter", "token_count": 6844 }
876
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package dev.flutter.plugins.integration_test; import org.junit.Test; import static org.junit.Assert.*; import static org.mockito.Mockito.mock; import sta...
flutter/packages/integration_test/android/src/test/java/dev/flutter/plugins/integration_test/FlutterDeviceScreenshotTest.java/0
{ "file_path": "flutter/packages/integration_test/android/src/test/java/dev/flutter/plugins/integration_test/FlutterDeviceScreenshotTest.java", "repo_id": "flutter", "token_count": 755 }
877
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import "IntegrationTestPlugin.h" @import UIKit; static NSString *const kIntegrationTestPluginChannel = @"plugins.flutter.io/integration_test"; static NS...
flutter/packages/integration_test/ios/Classes/IntegrationTestPlugin.m/0
{ "file_path": "flutter/packages/integration_test/ios/Classes/IntegrationTestPlugin.m", "repo_id": "flutter", "token_count": 1091 }
878
name: integration_test description: Runs tests that use the flutter_test API as integration tests. publish_to: none environment: sdk: '>=3.2.0-0 <4.0.0' dependencies: flutter: sdk: flutter flutter_driver: sdk: flutter flutter_test: sdk: flutter path: 1.9.0 vm_service: 14.2.0 async: 2.11.0 #...
flutter/packages/integration_test/pubspec.yaml/0
{ "file_path": "flutter/packages/integration_test/pubspec.yaml", "repo_id": "flutter", "token_count": 1019 }
879
org.gradle.jvmargs=-Xmx1536M android.enableR8=true android.useAndroidX=true android.enableJetifier=true
flutter_clock/analog_clock/android/gradle.properties/0
{ "file_path": "flutter_clock/analog_clock/android/gradle.properties", "repo_id": "flutter_clock", "token_count": 39 }
880
# Digital Clock This app is an example of a digital clock. It has a light theme and a dark theme. See the [Analog Clock](../analog_clock) if you'd like an example that displays the weather and location. <img src='digital.gif' width='350'> <img src='digital_dark.png' width='350'> <img src='digital_light.png' width='...
flutter_clock/digital_clock/README.md/0
{ "file_path": "flutter_clock/digital_clock/README.md", "repo_id": "flutter_clock", "token_count": 100 }
881
# Flutter Gallery **NOTE**: The Flutter Gallery is now deprecated, and no longer being active maintained. Flutter Gallery was a resource to help developers evaluate and use Flutter. It is now being used primarily for testing. For posterity, the web version remains [hosted here](https://flutter-gallery-archive.web.ap...
gallery/README.md/0
{ "file_path": "gallery/README.md", "repo_id": "gallery", "token_count": 446 }
882
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>$(DEVELOPMENT_LANGUAGE)</string> <key>CFBundleExecutable</key> <string>$(EXECUTABLE_NAME)</string> ...
gallery/ios/Runner/Info.plist/0
{ "file_path": "gallery/ios/Runner/Info.plist", "repo_id": "gallery", "token_count": 2027 }
883
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/gallery_localizations.dart'; // BEGIN c...
gallery/lib/demos/cupertino/cupertino_context_menu_demo.dart/0
{ "file_path": "gallery/lib/demos/cupertino/cupertino_context_menu_demo.dart", "repo_id": "gallery", "token_count": 1136 }
884
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/gallery_localizations.dart'; import 'package:gallery/demos/material/material_dem...
gallery/lib/demos/material/bottom_sheet_demo.dart/0
{ "file_path": "gallery/lib/demos/material/bottom_sheet_demo.dart", "repo_id": "gallery", "token_count": 2195 }
885
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/gallery_localizations.dart'; import 'package:gallery/demos/material/material_demo...
gallery/lib/demos/material/selection_controls_demo.dart/0
{ "file_path": "gallery/lib/demos/material/selection_controls_demo.dart", "repo_id": "gallery", "token_count": 3389 }
886
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:gallery/themes/gallery_theme_data.dart'; import 'transformations_demo_board.dart'; import 'transformat...
gallery/lib/demos/reference/transformations_demo_edit_board_point.dart/0
{ "file_path": "gallery/lib/demos/reference/transformations_demo_edit_board_point.dart", "repo_id": "gallery", "token_count": 529 }
887
{ "loading": "Загрузка", "deselect": "Скасаваць выбар", "select": "Выбраць", "selectable": "Магчымасць выбару (доўгім націсканнем)", "selected": "Выбрана", "demo": "Дэмаверсія", "bottomAppBar": "Ніжняя панэль праграм", "notSelected": "Не выбрана", "demoCupertinoSearchTextFieldTitle": "Поле крытэрыю по...
gallery/lib/l10n/intl_be.arb/0
{ "file_path": "gallery/lib/l10n/intl_be.arb", "repo_id": "gallery", "token_count": 40150 }
888
{ "loading": "Chargement…", "deselect": "Désélectionner", "select": "Sélectionner", "selectable": "Sélectionnable (appui de manière prolongée)", "selected": "Sélectionné", "demo": "Version de démonstration", "bottomAppBar": "Barre d'application inférieure", "notSelected": "Non sélectionné", "demoCuper...
gallery/lib/l10n/intl_fr.arb/0
{ "file_path": "gallery/lib/l10n/intl_fr.arb", "repo_id": "gallery", "token_count": 19464 }
889
{ "loading": "Жүктеліп жатыр.", "deselect": "Таңдаудан алу", "select": "Таңдау", "selectable": "Таңдалмалы (ұзақ басу)", "selected": "Таңдалған", "demo": "Демо", "bottomAppBar": "Төменгі қолданба жолағы", "notSelected": "Таңдалмаған", "demoCupertinoSearchTextFieldTitle": "Мәтін іздеу өрісі", "demoCu...
gallery/lib/l10n/intl_kk.arb/0
{ "file_path": "gallery/lib/l10n/intl_kk.arb", "repo_id": "gallery", "token_count": 39072 }
890
{ "loading": "Laden", "deselect": "Deselecteren", "select": "Selecteren", "selectable": "Selecteerbaar (lang indrukken)", "selected": "Geselecteerd", "demo": "Demo", "bottomAppBar": "App-balk onderaan", "notSelected": "Niet geselecteerd", "demoCupertinoSearchTextFieldTitle": "Zoektekstveld", "demoCu...
gallery/lib/l10n/intl_nl.arb/0
{ "file_path": "gallery/lib/l10n/intl_nl.arb", "repo_id": "gallery", "token_count": 19486 }
891
{ "loading": "Inapakia", "deselect": "Acha kuchagua", "select": "Chagua", "selectable": "Inayoweza kuchaguliwa (bonyeza kwa muda mrefu)", "selected": "Imechaguliwa", "demo": "Toleo la kujaribu", "bottomAppBar": "Upau wa chini wa programu", "notSelected": "Hujachagua", "demoCupertinoSearchTextFieldTitl...
gallery/lib/l10n/intl_sw.arb/0
{ "file_path": "gallery/lib/l10n/intl_sw.arb", "repo_id": "gallery", "token_count": 20992 }
892
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; /// [HighlightFocus] is a helper widget for giving a child focus /// allowing...
gallery/lib/layout/highlight_focus.dart/0
{ "file_path": "gallery/lib/layout/highlight_focus.dart", "repo_id": "gallery", "token_count": 1032 }
893
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/gallery_localizations.dart'; import 'package:gallery/data/gallery_options.dart'; ...
gallery/lib/studies/crane/app.dart/0
{ "file_path": "gallery/lib/studies/crane/app.dart", "repo_id": "gallery", "token_count": 653 }
894
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:math' as math; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter_gen/gen_l10n/gallery_loc...
gallery/lib/studies/rally/tabs/overview.dart/0
{ "file_path": "gallery/lib/studies/rally/tabs/overview.dart", "repo_id": "gallery", "token_count": 4533 }
895
import 'dart:math' as math; import 'package:flutter/material.dart'; /// A rectangle with a smooth circular notch. /// /// See also: /// /// * [CircleBorder], a [ShapeBorder] that describes a circle. class WaterfallNotchedRectangle extends NotchedShape { /// Creates a [WaterfallNotchedRectangle]. /// /// The sa...
gallery/lib/studies/reply/waterfall_notched_rectangle.dart/0
{ "file_path": "gallery/lib/studies/reply/waterfall_notched_rectangle.dart", "repo_id": "gallery", "token_count": 1334 }
896
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:gallery/studies/shrine/model/product.dart'; import 'package:gallery/studies/shrine/supplemental/deskt...
gallery/lib/studies/shrine/supplemental/balanced_layout.dart/0
{ "file_path": "gallery/lib/studies/shrine/supplemental/balanced_layout.dart", "repo_id": "gallery", "token_count": 2709 }
897
# Web Benchmark Tests This directory, `lib/benchmarks/`, is used for performance testing for the Gallery on Web. It is used by `web_benchmarks` in the Flutter repository to collect benchmarks that indicate Gallery's performance. For more information, especially how to run these tests, see: https://github.com/flutte...
gallery/test_benchmarks/benchmarks/README.md/0
{ "file_path": "gallery/test_benchmarks/benchmarks/README.md", "repo_id": "gallery", "token_count": 104 }
898
// Copyright 2019 The Flutter team. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'dart:io'; const _l10nDir = 'lib/l10n'; // Note that the filename for `intl_en_US.xml` is used by the inte...
gallery/tool/l10n_cli/l10n_cli.dart/0
{ "file_path": "gallery/tool/l10n_cli/l10n_cli.dart", "repo_id": "gallery", "token_count": 1965 }
899
# Official Dart image: https://hub.docker.com/_/dart # Specify the Dart SDK base image version using dart:<version> (ex: dart:2.17) FROM dart:beta AS build WORKDIR /app # Copy Dependencies COPY packages/card_renderer ./packages/card_renderer COPY packages/cards_repository ./packages/cards_repository COPY packages/con...
io_flip/api/Dockerfile/0
{ "file_path": "io_flip/api/Dockerfile", "repo_id": "io_flip", "token_count": 757 }
900
# Card Renderer [![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link] [![Powered by Mason](https://img.shields.io/endpoint?url=https%3A%2F%2Ftinyurl.com%2Fmason-badge)](https://github.com/felangel/mason) [![License: MIT][license_badge]][license_link] Renders a card based on its metadata an...
io_flip/api/packages/card_renderer/README.md/0
{ "file_path": "io_flip/api/packages/card_renderer/README.md", "repo_id": "io_flip", "token_count": 929 }
901
import 'package:card_renderer/card_renderer.dart'; import 'package:image/image.dart'; import 'package:test/test.dart'; void main() { group('rainbowFilter', () { final expected = Command() ..decodeImageFile('test/src/rainbow_filter.png') ..encodePng(); setUpAll(() async { await expected.exe...
io_flip/api/packages/card_renderer/test/src/rainbow_filter_test.dart/0
{ "file_path": "io_flip/api/packages/card_renderer/test/src/rainbow_filter_test.dart", "repo_id": "io_flip", "token_count": 271 }
902
import 'package:equatable/equatable.dart'; import 'package:game_domain/game_domain.dart'; import 'package:json_annotation/json_annotation.dart'; part 'deck.g.dart'; /// {@template deck} /// A model that represents a deck of cards. /// {@endtemplate} @JsonSerializable(ignoreUnannotated: true, explicitToJson: true) cla...
io_flip/api/packages/game_domain/lib/src/models/deck.dart/0
{ "file_path": "io_flip/api/packages/game_domain/lib/src/models/deck.dart", "repo_id": "io_flip", "token_count": 439 }
903
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'web_socket_message.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** Map<String, dynamic> _$WebSocketMessageToJson(WebSocket...
io_flip/api/packages/game_domain/lib/src/models/web_socket_message.g.dart/0
{ "file_path": "io_flip/api/packages/game_domain/lib/src/models/web_socket_message.g.dart", "repo_id": "io_flip", "token_count": 754 }
904
/// Repository providing access language model services library language_model_repository; export 'src/language_model_repository.dart';
io_flip/api/packages/language_model_repository/lib/language_model_repository.dart/0
{ "file_path": "io_flip/api/packages/language_model_repository/lib/language_model_repository.dart", "repo_id": "io_flip", "token_count": 36 }
905
import 'dart:async'; import 'dart:math'; import 'package:cards_repository/cards_repository.dart'; import 'package:db_client/db_client.dart'; import 'package:game_domain/game_domain.dart'; /// Throw when getting a match fails. class GetMatchFailure extends Error {} /// Throw when adding a move to a match fails. class...
io_flip/api/packages/match_repository/lib/src/match_repository.dart/0
{ "file_path": "io_flip/api/packages/match_repository/lib/src/match_repository.dart", "repo_id": "io_flip", "token_count": 4548 }
906
name: scripts_repository description: Access to the game scripts data source version: 0.1.0+1 publish_to: none environment: sdk: ">=2.19.0 <3.0.0" dependencies: db_client: path: ../db_client game_script_machine: path: ../game_script_machine dev_dependencies: mocktail: ^0.3.0 test: ^1.19.2 very_go...
io_flip/api/packages/scripts_repository/pubspec.yaml/0
{ "file_path": "io_flip/api/packages/scripts_repository/pubspec.yaml", "repo_id": "io_flip", "token_count": 144 }
907
import 'dart:async'; import 'dart:io'; import 'package:dart_frog/dart_frog.dart'; import 'package:jwt_middleware/jwt_middleware.dart'; import 'package:logging/logging.dart'; import 'package:match_repository/match_repository.dart'; FutureOr<Response> onRequest( RequestContext context, String matchId, String deck...
io_flip/api/routes/game/matches/[matchId]/decks/[deckId]/cards/[cardId].dart/0
{ "file_path": "io_flip/api/routes/game/matches/[matchId]/decks/[deckId]/cards/[cardId].dart", "repo_id": "io_flip", "token_count": 412 }
908
import 'dart:io'; import 'package:dart_frog/dart_frog.dart'; import 'package:leaderboard_repository/leaderboard_repository.dart'; import 'package:mocktail/mocktail.dart'; import 'package:test/test.dart'; import '../../../../../routes/game/leaderboard/initials_blacklist/index.dart' as route; class _MockLeaderboar...
io_flip/api/test/routes/game/leaderboard/initials_blacklist/index_test.dart/0
{ "file_path": "io_flip/api/test/routes/game/leaderboard/initials_blacklist/index_test.dart", "repo_id": "io_flip", "token_count": 669 }
909
// ignore_for_file: avoid_print import 'dart:io'; import 'package:data_loader/data_loader.dart'; import 'package:db_client/db_client.dart'; import 'package:prompt_repository/prompt_repository.dart'; void main(List<String> args) async { if (args.isEmpty) { print('No command specified'); return; } final...
io_flip/api/tools/data_loader/bin/data_loader.dart/0
{ "file_path": "io_flip/api/tools/data_loader/bin/data_loader.dart", "repo_id": "io_flip", "token_count": 2569 }
910
// ignore_for_file: prefer_const_constructors import 'dart:io'; import 'package:csv/csv.dart'; import 'package:data_loader/data_loader.dart'; import 'package:db_client/db_client.dart'; import 'package:game_domain/game_domain.dart'; import 'package:mocktail/mocktail.dart'; import 'package:test/test.dart'; class _MockD...
io_flip/api/tools/data_loader/test/src/description_loader_test.dart/0
{ "file_path": "io_flip/api/tools/data_loader/test/src/description_loader_test.dart", "repo_id": "io_flip", "token_count": 2218 }
911
Music in the template is by Mr Smith, and licensed under Creative Commons Attribution 4.0 International (CC BY 4.0). https://freemusicarchive.org/music/mr-smith Mr Smith's music is used in this template project with his explicit permission.
io_flip/assets/music/README.md/0
{ "file_path": "io_flip/assets/music/README.md", "repo_id": "io_flip", "token_count": 63 }
912
export 'view/app.dart';
io_flip/flop/lib/app/app.dart/0
{ "file_path": "io_flip/flop/lib/app/app.dart", "repo_id": "io_flip", "token_count": 10 }
913
arb-dir: lib/l10n/arb template-arb-file: app_en.arb output-localization-file: app_localizations.dart nullable-getter: false
io_flip/l10n.yaml/0
{ "file_path": "io_flip/l10n.yaml", "repo_id": "io_flip", "token_count": 47 }
914
// Copyright 2022, the Flutter project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'dart:async'; import 'dart:isolate'; import 'package:firebase_crashlytics/firebase_crashlytics.da...
io_flip/lib/crashlytics/crashlytics.dart/0
{ "file_path": "io_flip/lib/crashlytics/crashlytics.dart", "repo_id": "io_flip", "token_count": 1359 }
915
import 'package:api_client/api_client.dart'; import 'package:authentication_repository/authentication_repository.dart'; import 'package:connection_repository/connection_repository.dart'; import 'package:equatable/equatable.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; i...
io_flip/lib/game/views/game_page.dart/0
{ "file_path": "io_flip/lib/game/views/game_page.dart", "repo_id": "io_flip", "token_count": 825 }
916
import 'package:flutter/material.dart'; class CircularAlignmentTween extends AlignmentTween { CircularAlignmentTween({super.begin, super.end}); @override Alignment lerp(double t) { final t1 = 1 - t; final beginOffset = Offset(begin!.x, begin!.y); final endOffset = Offset(end!.x, end!.y); final ...
io_flip/lib/how_to_play/widgets/circular_alignment_tween.dart/0
{ "file_path": "io_flip/lib/how_to_play/widgets/circular_alignment_tween.dart", "repo_id": "io_flip", "token_count": 191 }
917
part of 'initials_form_bloc.dart'; enum InitialsFormStatus { initial, valid, invalid, blacklisted, success, failure; bool get isInvalid => this == InitialsFormStatus.invalid; } class InitialsFormState extends Equatable { const InitialsFormState({ List<String>? initials, this.status = Initials...
io_flip/lib/leaderboard/initials_form/bloc/initials_form_state.dart/0
{ "file_path": "io_flip/lib/leaderboard/initials_form/bloc/initials_form_state.dart", "repo_id": "io_flip", "token_count": 249 }
918
part of 'match_making_bloc.dart'; abstract class MatchMakingEvent extends Equatable { const MatchMakingEvent(); } class MatchRequested extends MatchMakingEvent { const MatchRequested(); @override List<Object> get props => []; } class PrivateMatchRequested extends MatchMakingEvent { const PrivateMatchReque...
io_flip/lib/match_making/bloc/match_making_event.dart/0
{ "file_path": "io_flip/lib/match_making/bloc/match_making_event.dart", "repo_id": "io_flip", "token_count": 163 }
919
import 'package:flame/cache.dart'; import 'package:flame/components.dart'; import 'package:flame/widgets.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:io_flip/gen/assets.gen.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; class CardMaster extends St...
io_flip/lib/prompt/widgets/card_master.dart/0
{ "file_path": "io_flip/lib/prompt/widgets/card_master.dart", "repo_id": "io_flip", "token_count": 926 }
920
import 'package:api_client/api_client.dart'; import 'package:bloc/bloc.dart'; import 'package:cross_file/cross_file.dart'; import 'package:equatable/equatable.dart'; import 'package:flutter/foundation.dart'; import 'package:game_domain/game_domain.dart'; part 'download_event.dart'; part 'download_state.dart'; class D...
io_flip/lib/share/bloc/download_bloc.dart/0
{ "file_path": "io_flip/lib/share/bloc/download_bloc.dart", "repo_id": "io_flip", "token_count": 833 }
921
export 'cubit/terms_of_use_cubit.dart'; export 'view/terms_of_use_view.dart';
io_flip/lib/terms_of_use/terms_of_use.dart/0
{ "file_path": "io_flip/lib/terms_of_use/terms_of_use.dart", "repo_id": "io_flip", "token_count": 36 }
922
import 'dart:convert'; import 'dart:io'; import 'package:api_client/api_client.dart'; import 'package:game_domain/game_domain.dart'; /// {@template leaderboard_resource} /// An api resource for interacting with the leaderboard. /// {@endtemplate} class LeaderboardResource { /// {@macro leaderboard_resource} Leade...
io_flip/packages/api_client/lib/src/resources/leaderboard_resource.dart/0
{ "file_path": "io_flip/packages/api_client/lib/src/resources/leaderboard_resource.dart", "repo_id": "io_flip", "token_count": 1068 }
923
/// Repository to manage authentication. library authentication_repository; export 'src/authentication_repository.dart'; export 'src/models/models.dart';
io_flip/packages/authentication_repository/lib/authentication_repository.dart/0
{ "file_path": "io_flip/packages/authentication_repository/lib/authentication_repository.dart", "repo_id": "io_flip", "token_count": 44 }
924
# Connection Repository [![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link] [![Powered by Mason](https://img.shields.io/endpoint?url=https%3A%2F%2Ftinyurl.com%2Fmason-badge)](https://github.com/felangel/mason) [![License: MIT][license_badge]][license_link] Repository to manage the connec...
io_flip/packages/connection_repository/README.md/0
{ "file_path": "io_flip/packages/connection_repository/README.md", "repo_id": "io_flip", "token_count": 954 }
925
# gallery Gallery project to showcase app_ui. To run click `run` in `gallery/lib/main.dart`
io_flip/packages/io_flip_ui/gallery/README.md/0
{ "file_path": "io_flip/packages/io_flip_ui/gallery/README.md", "repo_id": "io_flip", "token_count": 32 }
926
import 'package:flutter/material.dart'; import 'package:gallery/story_scaffold.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; class FoilShaderStory extends StatefulWidget { const FoilShaderStory({super.key}); @override State<FoilShaderStory> createState() => _FoilShaderStoryState(); } class _FoilShaderSto...
io_flip/packages/io_flip_ui/gallery/lib/widgets/foil_shader_story.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/gallery/lib/widgets/foil_shader_story.dart", "repo_id": "io_flip", "token_count": 861 }
927
/// GENERATED CODE - DO NOT MODIFY BY HAND /// ***************************************************** /// FlutterGen /// ***************************************************** // coverage:ignore-file // ignore_for_file: type=lint // ignore_for_file: directives_ordering,unnecessary_import,implicit_dynamic_list_literal,d...
io_flip/packages/io_flip_ui/lib/gen/assets.gen.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/lib/gen/assets.gen.dart", "repo_id": "io_flip", "token_count": 9546 }
928
import 'package:flutter/animation.dart'; /// {@template there_and_back_again} /// A [Tween] that runs the given tween forward and then backward. /// /// Also, A Hobbit's Tale. /// {@endtemplate} class ThereAndBackAgain<T> extends Tween<T> { /// {@macro there_and_back_again} ThereAndBackAgain(this._tween); final...
io_flip/packages/io_flip_ui/lib/src/animations/there_and_back_again.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/lib/src/animations/there_and_back_again.dart", "repo_id": "io_flip", "token_count": 239 }
929
import 'package:flame/cache.dart'; import 'package:flame/extensions.dart'; import 'package:flame/widgets.dart'; import 'package:flutter/material.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; import 'package:provider/provider.dart'; /// {@template charge_back} /// A widget that renders a [SpriteAnimation] for the...
io_flip/packages/io_flip_ui/lib/src/widgets/damages/charge_back.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/lib/src/widgets/damages/charge_back.dart", "repo_id": "io_flip", "token_count": 1660 }
930
import 'package:flutter/widgets.dart'; import 'package:io_flip_ui/gen/assets.gen.dart'; /// {@template io_flip_logo} /// IO Flip main logo. /// {@endtemplate} class IoFlipLogo extends StatelessWidget { /// {@macro io_flip_logo} IoFlipLogo({ this.width, this.height, super.key, }) : _svg = Assets.image...
io_flip/packages/io_flip_ui/lib/src/widgets/io_flip_logo.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/lib/src/widgets/io_flip_logo.dart", "repo_id": "io_flip", "token_count": 309 }
931
// ignore_for_file: prefer_const_constructors import 'package:device_info_plus/device_info_plus.dart'; import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; import 'package:mocktail/mocktail.dart'; class _MockDeviceInfoPlugin extends Mock...
io_flip/packages/io_flip_ui/test/src/utils_test.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/test/src/utils_test.dart", "repo_id": "io_flip", "token_count": 3416 }
932
// ignore_for_file: prefer_const_constructors import 'dart:ui'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; import 'package:mocktail_image_network/mocktail_image_network.dart'; import '../../helpers/mock_failed_network_image.da...
io_flip/packages/io_flip_ui/test/src/widgets/game_card_test.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/test/src/widgets/game_card_test.dart", "repo_id": "io_flip", "token_count": 4674 }
933
/// Repository for match making. library match_maker_repository; export 'src/match_maker_repository.dart'; export 'src/models/models.dart';
io_flip/packages/match_maker_repository/lib/match_maker_repository.dart/0
{ "file_path": "io_flip/packages/match_maker_repository/lib/match_maker_repository.dart", "repo_id": "io_flip", "token_count": 47 }
934
// ignore_for_file: prefer_const_constructors import 'package:api_client/api_client.dart'; import 'package:authentication_repository/authentication_repository.dart'; import 'package:bloc_test/bloc_test.dart'; import 'package:config_repository/config_repository.dart'; import 'package:connection_repository/connection_re...
io_flip/test/app/view/app_test.dart/0
{ "file_path": "io_flip/test/app/view/app_test.dart", "repo_id": "io_flip", "token_count": 5423 }
935
// ignore_for_file: prefer_const_constructors import 'package:flutter_test/flutter_test.dart'; import 'package:game_domain/game_domain.dart'; import 'package:io_flip/game/game.dart'; void main() { const deck = Deck(id: 'id', userId: 'userId', cards: []); group('MatchLoadingState', () { test('can be instantia...
io_flip/test/game/bloc/game_state_test.dart/0
{ "file_path": "io_flip/test/game/bloc/game_state_test.dart", "repo_id": "io_flip", "token_count": 8056 }
936
// ignore_for_file: prefer_const_constructors import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_flip/how_to_play/how_to_play.dart'; import '../../helpers/pump_app.dart'; void main() { group('HowToPlayDialog', () { testWidgets('renders a HowToPlayView', ...
io_flip/test/how_to_play/view/how_to_play_dialog_test.dart/0
{ "file_path": "io_flip/test/how_to_play/view/how_to_play_dialog_test.dart", "repo_id": "io_flip", "token_count": 186 }
937
// ignore_for_file: prefer_const_constructors import 'package:flutter_test/flutter_test.dart'; import 'package:io_flip/match_making/match_making.dart'; import 'package:match_maker_repository/match_maker_repository.dart'; void main() { group('MatchMakingState', () { test('can be instantiated', () { expect(...
io_flip/test/match_making/bloc/match_making_state_test.dart/0
{ "file_path": "io_flip/test/match_making/bloc/match_making_state_test.dart", "repo_id": "io_flip", "token_count": 1763 }
938