text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// 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' as io;
import 'package:fake_async/fake_async.dart';
import 'package:file/memory.dart';
import 'package:flutter_tools... | flutter/packages/flutter_tools/test/commands.shard/hermetic/drive_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/commands.shard/hermetic/drive_test.dart",
"repo_id": "flutter",
"token_count": 8431
} | 769 |
// 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 'package:args/command_runner.dart';
import 'package:file/memory.dart';
import 'package:flutter_tools/sr... | flutter/packages/flutter_tools/test/commands.shard/hermetic/test_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/commands.shard/hermetic/test_test.dart",
"repo_id": "flutter",
"token_count": 19204
} | 770 |
// 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/deferred_components_gen_snapshot_validator.dart';
import 'package:flutter_tool... | flutter/packages/flutter_tools/test/general.shard/android/deferred_components_gen_snapshot_validator_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/android/deferred_components_gen_snapshot_validator_test.dart",
"repo_id": "flutter",
"token_count": 10033
} | 771 |
// 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 'dart:typed_data';
import 'package:file/memory.dart';
import 'package:flutter_tools/src/artifacts.dart';
import 'package:flu... | flutter/packages/flutter_tools/test/general.shard/asset_bundle_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/asset_bundle_test.dart",
"repo_id": "flutter",
"token_count": 14932
} | 772 |
// 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' as io;
import 'package:file/file.dart';
import 'package:file/memory.dart';
import 'package:flutter_tools/src/base/file_system.dart';
impo... | flutter/packages/flutter_tools/test/general.shard/base/multi_root_file_system_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/base/multi_root_file_system_test.dart",
"repo_id": "flutter",
"token_count": 3045
} | 773 |
// 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 'dart:typed_data';
import 'package:convert/convert.dart';
import 'package:flutter_tools/src/build_system/hash.dart';
import... | flutter/packages/flutter_tools/test/general.shard/build_system/hash_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/build_system/hash_test.dart",
"repo_id": "flutter",
"token_count": 963
} | 774 |
// 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/web/compile.dart';
import 'package:test/test.dart';
void main() {
group('dart-defines and web-renderer options', () {... | flutter/packages/flutter_tools/test/general.shard/build_system/targets/web_defines_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/build_system/targets/web_defines_test.dart",
"repo_id": "flutter",
"token_count": 827
} | 775 |
// 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/compile_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/compile_test.dart",
"repo_id": "flutter",
"token_count": 1856
} | 776 |
// 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/dart/package_map.dart';
import 'package:flutter_tools... | flutter/packages/flutter_tools/test/general.shard/dart_plugin_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/dart_plugin_test.dart",
"repo_id": "flutter",
"token_count": 19847
} | 777 |
// 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:dds/dds.dart';
import 'package:file/memory.dart';
import 'package:flutter_tools/src/base/file_system.dart';
import 'p... | flutter/packages/flutter_tools/test/general.shard/flutter_tester_device_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/flutter_tester_device_test.dart",
"repo_id": "flutter",
"token_count": 4263
} | 778 |
// 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/ios/core_devices_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/ios/core_devices_test.dart",
"repo_id": "flutter",
"token_count": 29294
} | 779 |
// 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.
/// An example xcresult bundle json with invalid issues map.
const String kSampleResultJsonInvalidIssuesMap = r'''
{
"_type" : {
"_name" : "ActionsIn... | flutter/packages/flutter_tools/test/general.shard/ios/xcresult_test_data.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/ios/xcresult_test_data.dart",
"repo_id": "flutter",
"token_count": 9650
} | 780 |
// 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/macos/cocoapods_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/macos/cocoapods_test.dart",
"repo_id": "flutter",
"token_count": 21906
} | 781 |
// 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/project_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/project_test.dart",
"repo_id": "flutter",
"token_count": 28580
} | 782 |
// 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' as io;
import 'package:args/command_runner.dart';
import 'package:file/memory.dart';
import 'package:flutter_tools/s... | flutter/packages/flutter_tools/test/general.shard/runner/flutter_command_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/runner/flutter_command_test.dart",
"repo_id": "flutter",
"token_count": 19801
} | 783 |
// 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/update_packages_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/update_packages_test.dart",
"repo_id": "flutter",
"token_count": 2912
} | 784 |
// 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:dwds/dwds.dart';
import 'package:file/memory.dart';
import 'package:flutter_tools/src/base/file_system.dart';
import 'package:flutter_tools... | flutter/packages/flutter_tools/test/general.shard/web/web_expression_compiler_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/general.shard/web/web_expression_compiler_test.dart",
"repo_id": "flutter",
"token_count": 960
} | 785 |
// 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_testing/file_testing.dart';
import 'package:flutter_tools/src/base/file_system.dart';
import 'package:flutter_tools/src/base/io.dart';... | flutter/packages/flutter_tools/test/host_cross_arch.shard/ios_content_validation_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/host_cross_arch.shard/ios_content_validation_test.dart",
"repo_id": "flutter",
"token_count": 7169
} | 786 |
// 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_testing/file_testing.dart';
import 'package:flutter_tools/src/base/file_system.dart';
import 'package:flutter_tools/src/base/io.dart';... | flutter/packages/flutter_tools/test/integration.shard/android_plugin_ndkversion_mismatch_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/integration.shard/android_plugin_ndkversion_mismatch_test.dart",
"repo_id": "flutter",
"token_count": 1028
} | 787 |
// 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:dds/dap.dart';
import 'package:flutter_tools/src/debug_adapters/flutter_adapter_args.dart';
import 'test_server.dart... | flutter/packages/flutter_tools/test/integration.shard/debug_adapter/test_client.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/integration.shard/debug_adapter/test_client.dart",
"repo_id": "flutter",
"token_count": 5531
} | 788 |
// 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/io.dart';
import '../src/common.dart';
import 'test_utils.dart';
void main() {
... | flutter/packages/flutter_tools/test/integration.shard/flutter_build_with_compilation_error_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/integration.shard/flutter_build_with_compilation_error_test.dart",
"repo_id": "flutter",
"token_count": 822
} | 789 |
// 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/stateless_stateful_project.dart';
import 'test_drive... | flutter/packages/flutter_tools/test/integration.shard/stateless_stateful_hot_reload_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/integration.shard/stateless_stateful_hot_reload_test.dart",
"repo_id": "flutter",
"token_count": 428
} | 790 |
// 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 'basic_project.dart';
import 'deferred_components_config.dart';
import 'deferred_components_project.dart';
/// Project which can load native plugin... | flutter/packages/flutter_tools/test/integration.shard/test_data/plugin_project.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/integration.shard/test_data/plugin_project.dart",
"repo_id": "flutter",
"token_count": 1185
} | 791 |
// 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 'package:vm_... | flutter/packages/flutter_tools/test/integration.shard/vmservice_integration_test.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/integration.shard/vmservice_integration_test.dart",
"repo_id": "flutter",
"token_count": 2089
} | 792 |
// 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:args/args.dart';
import 'package:args/command_runner.dart';
import 'package:flutter_tools/src/base/context.dart';
imp... | flutter/packages/flutter_tools/test/src/test_flutter_command_runner.dart/0 | {
"file_path": "flutter/packages/flutter_tools/test/src/test_flutter_command_runner.dart",
"repo_id": "flutter",
"token_count": 949
} | 793 |
// 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:path/path.dart' as path;
/// Count the number of libraries that import globals.dart in lib and test.
///
/// This must b... | flutter/packages/flutter_tools/tool/global_count.dart/0 | {
"file_path": "flutter/packages/flutter_tools/tool/global_count.dart",
"repo_id": "flutter",
"token_count": 401
} | 794 |
// 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.
@TestOn('chrome') // Uses web-only Flutter SDK
library;
import 'dart:ui_web' as ui_web;
import 'package:flutter/services.dart';
import 'package:flutter_t... | flutter/packages/flutter_web_plugins/test/plugin_registry_test.dart/0 | {
"file_path": "flutter/packages/flutter_web_plugins/test/plugin_registry_test.dart",
"repo_id": "flutter",
"token_count": 854
} | 795 |
// 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 com.example.integration_test_example;
import android.Manifest.permission;
import androidx.test.rule.ActivityTestRule;
import androidx.test.rule.Gr... | flutter/packages/integration_test/example/android/app/src/androidTest/java/com/example/integration_test_example/FlutterActivityWithPermissionTest.java/0 | {
"file_path": "flutter/packages/integration_test/example/android/app/src/androidTest/java/com/example/integration_test_example/FlutterActivityWithPermissionTest.java",
"repo_id": "flutter",
"token_count": 306
} | 796 |
// 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' show Platform;
import 'package:flutter/material.dart';
// ignore_for_file: public_member_api_docs
void startApp() => runApp(const MyApp(... | flutter/packages/integration_test/example/lib/my_app.dart/0 | {
"file_path": "flutter/packages/integration_test/example/lib/my_app.dart",
"repo_id": "flutter",
"token_count": 294
} | 797 |
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'integration_test_macos'
s.version = '0.0.1'
s.summary = 'Adapter for integration tests.'
s.description = <<-DESC
Runs tests that use the flutter_test API as i... | flutter/packages/integration_test/integration_test_macos/macos/integration_test_macos.podspec/0 | {
"file_path": "flutter/packages/integration_test/integration_test_macos/macos/integration_test_macos.podspec",
"repo_id": "flutter",
"token_count": 455
} | 798 |
// 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.
// This is a CLI library; we use prints as part of the interface.
// ignore_for_file: avoid_print
import 'dart:async';
import 'dart:convert';
import 'dart... | flutter/packages/integration_test/lib/integration_test_driver.dart/0 | {
"file_path": "flutter/packages/integration_test/lib/integration_test_driver.dart",
"repo_id": "flutter",
"token_count": 1042
} | 799 |
#include "Generated.xcconfig"
| flutter_clock/analog_clock/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "flutter_clock/analog_clock/ios/Flutter/Debug.xcconfig",
"repo_id": "flutter_clock",
"token_count": 12
} | 800 |
// Copyright 2019 The Chromium 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_clock_helper/model.dart';
import 'package:flutter/material.dart';
import 'package:flutter/semantics.dart';
i... | flutter_clock/analog_clock/lib/analog_clock.dart/0 | {
"file_path": "flutter_clock/analog_clock/lib/analog_clock.dart",
"repo_id": "flutter_clock",
"token_count": 2376
} | 801 |
#include "Generated.xcconfig"
| flutter_clock/digital_clock/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "flutter_clock/digital_clock/ios/Flutter/Debug.xcconfig",
"repo_id": "flutter_clock",
"token_count": 12
} | 802 |
// Copyright 2019 The Chromium 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_clock_helper/model.dart';
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
enum _El... | flutter_clock/digital_clock/lib/digital_clock.dart/0 | {
"file_path": "flutter_clock/digital_clock/lib/digital_clock.dart",
"repo_id": "flutter_clock",
"token_count": 1331
} | 803 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additio... | gallery/android/app/src/main/AndroidManifest.xml/0 | {
"file_path": "gallery/android/app/src/main/AndroidManifest.xml",
"repo_id": "gallery",
"token_count": 1141
} | 804 |
plugins {
id "com.android.dynamic-feature"
id "kotlin-android"
id "com.google.firebase.crashlytics"
}
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystoreProp... | gallery/android/crane/build.gradle/0 | {
"file_path": "gallery/android/crane/build.gradle",
"repo_id": "gallery",
"token_count": 408
} | 805 |
// 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';
class CodeStyle extends InheritedWidget {
const CodeStyle({
super.key,
this.baseStyle,
this.numberStyle... | gallery/lib/codeviewer/code_style.dart/0 | {
"file_path": "gallery/lib/codeviewer/code_style.dart",
"repo_id": "gallery",
"token_count": 425
} | 806 |
// 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_gen/gen_l10n/gallery_localizations.dart';
// BEGIN cupertinoSliderDemo
class CupertinoSlide... | gallery/lib/demos/cupertino/cupertino_slider_demo.dart/0 | {
"file_path": "gallery/lib/demos/cupertino/cupertino_slider_demo.dart",
"repo_id": "gallery",
"token_count": 2068
} | 807 |
// 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/grid_list_demo.dart/0 | {
"file_path": "gallery/lib/demos/material/grid_list_demo.dart",
"repo_id": "gallery",
"token_count": 2533
} | 808 |
// Copyright 2019 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:animations/animations.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/gallery_localizations.dart';
// ... | gallery/lib/demos/reference/motion_demo_container_transition.dart/0 | {
"file_path": "gallery/lib/demos/reference/motion_demo_container_transition.dart",
"repo_id": "gallery",
"token_count": 11044
} | 809 |
{
"loading": "Laai tans",
"deselect": "Ontkies",
"select": "Kies",
"selectable": "Kiesbaar (langdruk)",
"selected": "Gekies",
"demo": "Demonstrasie",
"bottomAppBar": "Onderste appbalk",
"notSelected": "Nie gekies nie",
"demoCupertinoSearchTextFieldTitle": "Soekteksveld",
"demoCupertinoPicker": "Kies... | gallery/lib/l10n/intl_af.arb/0 | {
"file_path": "gallery/lib/l10n/intl_af.arb",
"repo_id": "gallery",
"token_count": 19365
} | 810 |
{
"loading": "Indlæser",
"deselect": "Fravælg",
"select": "Vælg",
"selectable": "Kan vælges (langt tryk)",
"selected": "Valgt",
"demo": "Demo",
"bottomAppBar": "Appbjælke nederst på skærmen",
"notSelected": "Ikke valgt",
"demoCupertinoSearchTextFieldTitle": "Tekstfelt til søgning",
"demoCupertinoPic... | gallery/lib/l10n/intl_da.arb/0 | {
"file_path": "gallery/lib/l10n/intl_da.arb",
"repo_id": "gallery",
"token_count": 18935
} | 811 |
{
"loading": "लोड हो रहा है",
"deselect": "चुने हुए का निशान हटाएं",
"select": "चुनें",
"selectable": "चुना जा सकने वाला (देर तक दबाने पर)",
"selected": "चुना गया",
"demo": "डेमो",
"bottomAppBar": "बॉटम ऐप्लिकेशन बार",
"notSelected": "नहीं चुना गया",
"demoCupertinoSearchTextFieldTitle": "सर्च टेक्स्ट ... | gallery/lib/l10n/intl_hi.arb/0 | {
"file_path": "gallery/lib/l10n/intl_hi.arb",
"repo_id": "gallery",
"token_count": 50316
} | 812 |
{
"loading": "Notiek ielāde…",
"deselect": "Noņemt atlasi",
"select": "Atlasīt",
"selectable": "Var atlasīt (nospiest un turēt)",
"selected": "Atlasīts",
"demo": "Demonstrācija",
"bottomAppBar": "Apakšējā lietotņu josla",
"notSelected": "Nav atlasīts",
"demoCupertinoSearchTextFieldTitle": "Meklēšanas ... | gallery/lib/l10n/intl_lv.arb/0 | {
"file_path": "gallery/lib/l10n/intl_lv.arb",
"repo_id": "gallery",
"token_count": 23173
} | 813 |
{
"loading": "Se încarcă",
"deselect": "Debifați",
"select": "Selectați",
"selectable": "Se poate selecta (apăsare lungă)",
"selected": "Selectat",
"demo": "Versiune demonstrativă",
"bottomAppBar": "Bara de aplicații din partea de jos",
"notSelected": "Neselectat",
"demoCupertinoSearchTextFieldTitle":... | gallery/lib/l10n/intl_ro.arb/0 | {
"file_path": "gallery/lib/l10n/intl_ro.arb",
"repo_id": "gallery",
"token_count": 21472
} | 814 |
{
"loading": "لوڈ ہو رہا ہے",
"deselect": "غیر منتخب کریں",
"select": "منتخب کریں",
"selectable": "منتخب کرنے کے قابل (دیر تک دبائیں)",
"selected": "منتخب کردہ",
"demo": "ڈیمو",
"bottomAppBar": "نیچے کا ایپ بار",
"notSelected": "منتخب نہیں کیا گیا",
"demoCupertinoSearchTextFieldTitle": "ٹیکسٹ تلاش کرن... | gallery/lib/l10n/intl_ur.arb/0 | {
"file_path": "gallery/lib/l10n/intl_ur.arb",
"repo_id": "gallery",
"token_count": 39200
} | 815 |
// 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/constants.dart';
import 'pac... | gallery/lib/pages/category_list_item.dart/0 | {
"file_path": "gallery/lib/pages/category_list_item.dart",
"repo_id": "gallery",
"token_count": 5182
} | 816 |
// 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/layout/adaptive.dart';
import 'package:gallery/studies/crane/colors.dart';
const textFieldHei... | gallery/lib/studies/crane/header_form.dart/0 | {
"file_path": "gallery/lib/studies/crane/header_form.dart",
"repo_id": "gallery",
"token_count": 1577
} | 817 |
import 'package:flutter/material.dart';
import 'package:gallery/studies/reply/model/email_store.dart';
import 'package:provider/provider.dart';
class ComposePage extends StatelessWidget {
const ComposePage({super.key});
@override
Widget build(BuildContext context) {
var senderEmail = 'flutterfan@gmail.com';... | gallery/lib/studies/reply/compose_page.dart/0 | {
"file_path": "gallery/lib/studies/reply/compose_page.dart",
"repo_id": "gallery",
"token_count": 3812
} | 818 |
// 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';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/gallery_localizations.dart';
import 'package:gallery/data/ga... | gallery/lib/studies/shrine/login.dart/0 | {
"file_path": "gallery/lib/studies/shrine/login.dart",
"repo_id": "gallery",
"token_count": 3256
} | 819 |
// 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/colors.dart';
const List<Offset> _vertices = [
Offset(0, -14),
Offset(-17... | gallery/lib/studies/shrine/triangle_category_indicator.dart/0 | {
"file_path": "gallery/lib/studies/shrine/triangle_category_indicator.dart",
"repo_id": "gallery",
"token_count": 492
} | 820 |
// Copyright 2020 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/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';
co... | gallery/test_benchmarks/benchmarks/scroll.dart/0 | {
"file_path": "gallery/test_benchmarks/benchmarks/scroll.dart",
"repo_id": "gallery",
"token_count": 1589
} | 821 |
/// {@template game_url}
/// A URL to a game.
/// {@endtemplate}
class GameUrl {
/// {@macro game_url}
const GameUrl(this.url);
/// The URL.
final String url;
}
| io_flip/api/lib/game_url.dart/0 | {
"file_path": "io_flip/api/lib/game_url.dart",
"repo_id": "io_flip",
"token_count": 64
} | 822 |
// ignore_for_file: prefer_const_constructors
import 'dart:math';
import 'package:cards_repository/cards_repository.dart';
import 'package:config_repository/config_repository.dart';
import 'package:db_client/db_client.dart';
import 'package:game_domain/game_domain.dart';
import 'package:game_script_machine/game_script... | io_flip/api/packages/cards_repository/test/src/cards_repository_test.dart/0 | {
"file_path": "io_flip/api/packages/cards_repository/test/src/cards_repository_test.dart",
"repo_id": "io_flip",
"token_count": 8071
} | 823 |
// ignore_for_file: prefer_const_constructors
import 'package:db_client/db_client.dart';
import 'package:firedart/firedart.dart';
import 'package:grpc/grpc.dart';
import 'package:mocktail/mocktail.dart';
import 'package:test/test.dart';
class _MockFirestore extends Mock implements Firestore {}
class _MockCollectionRe... | io_flip/api/packages/db_client/test/src/db_client_test.dart/0 | {
"file_path": "io_flip/api/packages/db_client/test/src/db_client_test.dart",
"repo_id": "io_flip",
"token_count": 6716
} | 824 |
// ignore_for_file: prefer_const_constructors, one_member_abstracts
import 'dart:typed_data';
import 'package:firebase_cloud_storage/firebase_cloud_storage.dart';
import 'package:grpc/grpc.dart' hide Response;
import 'package:http/http.dart';
import 'package:mocktail/mocktail.dart';
import 'package:test/test.dart';
c... | io_flip/api/packages/firebase_cloud_storage/test/src/firebase_cloud_storage_test.dart/0 | {
"file_path": "io_flip/api/packages/firebase_cloud_storage/test/src/firebase_cloud_storage_test.dart",
"repo_id": "io_flip",
"token_count": 1549
} | 825 |
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'match_state.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
MatchState _$MatchStateFromJson(Map<String, dynamic> json) => ... | io_flip/api/packages/game_domain/lib/src/models/match_state.g.dart/0 | {
"file_path": "io_flip/api/packages/game_domain/lib/src/models/match_state.g.dart",
"repo_id": "io_flip",
"token_count": 434
} | 826 |
// ignore_for_file: prefer_const_constructors
import 'package:game_domain/game_domain.dart';
import 'package:test/test.dart';
void main() {
group('LeaderboardPlayer', () {
test('can be instantiated', () {
expect(
LeaderboardPlayer(
id: 'id',
longestStreak: 1,
initials... | io_flip/api/packages/game_domain/test/src/models/leaderboard_player_test.dart/0 | {
"file_path": "io_flip/api/packages/game_domain/test/src/models/leaderboard_player_test.dart",
"repo_id": "io_flip",
"token_count": 932
} | 827 |
// ignore_for_file: prefer_const_constructors
import 'dart:math';
import 'package:game_domain/game_domain.dart';
import 'package:game_script_machine/game_script_machine.dart';
import 'package:mocktail/mocktail.dart';
import 'package:test/test.dart';
class _MockRandom extends Mock implements Random {}
Card _makeCard(... | io_flip/api/packages/game_script_machine/test/src/game_script_machine_test.dart/0 | {
"file_path": "io_flip/api/packages/game_script_machine/test/src/game_script_machine_test.dart",
"repo_id": "io_flip",
"token_count": 2439
} | 828 |
import 'dart:convert';
import 'dart:io';
import 'package:clock/clock.dart';
import 'package:dart_frog/dart_frog.dart';
import 'package:http/http.dart' as http;
import 'package:jose/jose.dart';
import 'package:jwt_middleware/src/authenticated_user.dart';
import 'package:jwt_middleware/src/jwt.dart';
import 'package:x50... | io_flip/api/packages/jwt_middleware/lib/src/jwt_middleware.dart/0 | {
"file_path": "io_flip/api/packages/jwt_middleware/lib/src/jwt_middleware.dart",
"repo_id": "io_flip",
"token_count": 1868
} | 829 |
/// Access to Leaderboard datasource.
library leaderboard_repository;
export 'src/leaderboard_repository.dart';
| io_flip/api/packages/leaderboard_repository/lib/leaderboard_repository.dart/0 | {
"file_path": "io_flip/api/packages/leaderboard_repository/lib/leaderboard_repository.dart",
"repo_id": "io_flip",
"token_count": 34
} | 830 |
import 'package:db_client/db_client.dart';
import 'package:game_domain/game_domain.dart';
/// {@template prompt_repository}
/// Access to Prompt datasource.
/// {@endtemplate}
class PromptRepository {
/// {@macro prompt_repository}
const PromptRepository({
required DbClient dbClient,
}) : _dbClient = dbClien... | io_flip/api/packages/prompt_repository/lib/src/prompt_repository.dart/0 | {
"file_path": "io_flip/api/packages/prompt_repository/lib/src/prompt_repository.dart",
"repo_id": "io_flip",
"token_count": 1123
} | 831 |
import 'package:cards_repository/cards_repository.dart';
import 'package:config_repository/config_repository.dart';
import 'package:dart_frog/dart_frog.dart';
import 'package:game_script_machine/game_script_machine.dart';
import 'package:gcp/gcp.dart';
import 'package:leaderboard_repository/leaderboard_repository.dart'... | io_flip/api/routes/game/_middleware.dart/0 | {
"file_path": "io_flip/api/routes/game/_middleware.dart",
"repo_id": "io_flip",
"token_count": 560
} | 832 |
import 'dart:async';
import 'dart:io';
import 'package:card_renderer/card_renderer.dart';
import 'package:cards_repository/cards_repository.dart';
import 'package:dart_frog/dart_frog.dart';
import 'package:firebase_cloud_storage/firebase_cloud_storage.dart';
FutureOr<Response> onRequest(RequestContext context, String... | io_flip/api/routes/public/cards/[cardId].dart/0 | {
"file_path": "io_flip/api/routes/public/cards/[cardId].dart",
"repo_id": "io_flip",
"token_count": 516
} | 833 |
import 'dart:io';
import 'package:dart_frog/dart_frog.dart';
import 'package:game_domain/game_domain.dart';
import 'package:mocktail/mocktail.dart';
import 'package:prompt_repository/prompt_repository.dart';
import 'package:test/test.dart';
import '../../../../../routes/game/prompt/terms/index.dart' as route;
class ... | io_flip/api/test/routes/game/prompt/terms/index_test.dart/0 | {
"file_path": "io_flip/api/test/routes/game/prompt/terms/index_test.dart",
"repo_id": "io_flip",
"token_count": 945
} | 834 |
import 'dart:io';
import 'package:data_loader/src/prompt_mapper.dart';
import 'package:game_domain/game_domain.dart';
import 'package:prompt_repository/prompt_repository.dart';
/// {@template data_loader}
/// Dart tool that feed data into the Database
/// {@endtemplate}
class DataLoader {
/// {@macro data_loader}
... | io_flip/api/tools/data_loader/lib/src/data_loader.dart/0 | {
"file_path": "io_flip/api/tools/data_loader/lib/src/data_loader.dart",
"repo_id": "io_flip",
"token_count": 694
} | 835 |
export 'bloc/flop_bloc.dart';
export 'view/view.dart';
| io_flip/flop/lib/flop/flop.dart/0 | {
"file_path": "io_flip/flop/lib/flop/flop.dart",
"repo_id": "io_flip",
"token_count": 25
} | 836 |
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:io_flip/settings/settings_controller.dart';
import 'package:io_flip_ui/io_flip_ui.dart';
class AudioToggleButton extends StatelessWidget {
const AudioToggleButton({super.key});
@override
Widget build(BuildCo... | io_flip/lib/audio/widgets/audio_button.dart/0 | {
"file_path": "io_flip/lib/audio/widgets/audio_button.dart",
"repo_id": "io_flip",
"token_count": 258
} | 837 |
export 'draft_page.dart';
export 'draft_view.dart';
| io_flip/lib/draft/views/views.dart/0 | {
"file_path": "io_flip/lib/draft/views/views.dart",
"repo_id": "io_flip",
"token_count": 20
} | 838 |
export 'clash_scene.dart';
export 'match_result_splash.dart';
export 'quit_game_dialog.dart';
| io_flip/lib/game/widgets/widgets.dart/0 | {
"file_path": "io_flip/lib/game/widgets/widgets.dart",
"repo_id": "io_flip",
"token_count": 37
} | 839 |
import 'package:flutter/widgets.dart';
import 'package:io_flip/gen/assets.gen.dart';
import 'package:io_flip/info/view/info_view.dart';
import 'package:io_flip_ui/io_flip_ui.dart';
class InfoButton extends StatelessWidget {
const InfoButton({super.key});
@override
Widget build(BuildContext context) {
return... | io_flip/lib/info/widgets/info_button.dart/0 | {
"file_path": "io_flip/lib/info/widgets/info_button.dart",
"repo_id": "io_flip",
"token_count": 214
} | 840 |
export 'leaderboard_entry_view.dart';
export 'leaderboard_view.dart';
| io_flip/lib/leaderboard/views/views.dart/0 | {
"file_path": "io_flip/lib/leaderboard/views/views.dart",
"repo_id": "io_flip",
"token_count": 24
} | 841 |
part of 'prompt_form_bloc.dart';
abstract class PromptFormEvent extends Equatable {
const PromptFormEvent();
}
class PromptTermsRequested extends PromptFormEvent {
const PromptTermsRequested();
@override
List<Object?> get props => [];
}
class PromptSubmitted extends PromptFormEvent {
const PromptSubmitted... | io_flip/lib/prompt/bloc/prompt_form_event.dart/0 | {
"file_path": "io_flip/lib/prompt/bloc/prompt_form_event.dart",
"repo_id": "io_flip",
"token_count": 124
} | 842 |
import 'package:api_client/api_client.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:game_script_machine/game_script_machine.dart';
import 'package:io_flip/scripts/scripts.dart';
class ScriptsPage extends StatelessWidget {
const ScriptsPage({super.key})... | io_flip/lib/scripts/views/scripts_page.dart/0 | {
"file_path": "io_flip/lib/scripts/views/scripts_page.dart",
"repo_id": "io_flip",
"token_count": 327
} | 843 |
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart' hide Card;
import 'package:game_domain/game_domain.dart';
import 'package:go_router/go_router.dart';
import 'package:io_flip/audio/audio.dart';
import 'package:io_flip/gen/assets.gen.dart';
import 'package:io_flip/info/info.dart';
import ... | io_flip/lib/share/views/share_hand_page.dart/0 | {
"file_path": "io_flip/lib/share/views/share_hand_page.dart",
"repo_id": "io_flip",
"token_count": 3043
} | 844 |
import 'dart:convert';
import 'dart:io';
import 'package:api_client/api_client.dart';
import 'package:game_domain/game_domain.dart';
import 'package:http/http.dart' as http;
import 'package:mocktail/mocktail.dart';
import 'package:test/test.dart';
class _MockApiClient extends Mock implements ApiClient {}
class _Mock... | io_flip/packages/api_client/test/src/resources/game_resource_test.dart/0 | {
"file_path": "io_flip/packages/api_client/test/src/resources/game_resource_test.dart",
"repo_id": "io_flip",
"token_count": 8936
} | 845 |
import 'package:flutter/material.dart';
import 'package:gallery/story_scaffold.dart';
import 'package:io_flip_ui/io_flip_ui.dart';
class TypographyStory extends StatelessWidget {
const TypographyStory({super.key});
@override
Widget build(BuildContext context) {
const textTheme = IoFlipTextStyles.mobile;
... | io_flip/packages/io_flip_ui/gallery/lib/typography/typography_story.dart/0 | {
"file_path": "io_flip/packages/io_flip_ui/gallery/lib/typography/typography_story.dart",
"repo_id": "io_flip",
"token_count": 695
} | 846 |
export 'all_elements_story.dart';
export 'animated_card_story.dart';
export 'card_landing_puff_story.dart';
export 'elemental_damage_story.dart';
export 'fading_dot_loader_story.dart';
export 'flip_countdown_story.dart';
export 'flipped_game_card_story.dart';
export 'foil_shader_story.dart';
export 'game_card_overlay_s... | io_flip/packages/io_flip_ui/gallery/lib/widgets/widgets.dart/0 | {
"file_path": "io_flip/packages/io_flip_ui/gallery/lib/widgets/widgets.dart",
"repo_id": "io_flip",
"token_count": 189
} | 847 |
export 'elemental_damage.dart';
export 'elemental_damage_animation.dart';
export 'metal_damage.dart';
| io_flip/packages/io_flip_ui/lib/src/animations/damages/damages.dart/0 | {
"file_path": "io_flip/packages/io_flip_ui/lib/src/animations/damages/damages.dart",
"repo_id": "io_flip",
"token_count": 35
} | 848 |
import 'package:flutter/material.dart';
/// Text styles used in the IO FLIP UI.
abstract class IoFlipTextStyles {
const IoFlipTextStyles._();
/// Package name
static const package = 'io_flip_ui';
/// Text styles for desktop devices.
static const desktop = _TextStylesDesktop._();
/// Text styles for mobi... | io_flip/packages/io_flip_ui/lib/src/theme/io_flip_text_styles.dart/0 | {
"file_path": "io_flip/packages/io_flip_ui/lib/src/theme/io_flip_text_styles.dart",
"repo_id": "io_flip",
"token_count": 6122
} | 849 |
export 'animated_card.dart';
export 'card_landing_puff.dart';
export 'card_overlay.dart';
export 'damages/damages.dart';
export 'fading_dot_loader.dart';
export 'flip_countdown.dart';
export 'flipped_game_card.dart';
export 'foil_shader.dart';
export 'game_card.dart';
export 'io_flip_bottom_bar.dart';
export 'io_flip_d... | io_flip/packages/io_flip_ui/lib/src/widgets/widgets.dart/0 | {
"file_path": "io_flip/packages/io_flip_ui/lib/src/widgets/widgets.dart",
"repo_id": "io_flip",
"token_count": 231
} | 850 |
import 'package:flame/cache.dart';
import 'package:flame/widgets.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:io_flip_ui/gen/assets.gen.dart';
import 'package:io_flip_ui/io_flip_ui.dart';
import 'package:mocktail/mocktail.dart';
import 'package:provider... | io_flip/packages/io_flip_ui/test/src/widgets/damages/damage_send_test.dart/0 | {
"file_path": "io_flip/packages/io_flip_ui/test/src/widgets/damages/damage_send_test.dart",
"repo_id": "io_flip",
"token_count": 469
} | 851 |
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:io_flip_ui/src/widgets/simple_flow.dart';
class _TestFlowData extends Equatable {
const _TestFlowData(
this.value1,
this.value2,
this.value3,
);
// text... | io_flip/packages/io_flip_ui/test/src/widgets/simple_flow_test.dart/0 | {
"file_path": "io_flip/packages/io_flip_ui/test/src/widgets/simple_flow_test.dart",
"repo_id": "io_flip",
"token_count": 1853
} | 852 |
name: io_flip
description: Google I/O FLIP game
version: 1.0.0+1
publish_to: none
environment:
sdk: ">=3.0.0 <4.0.0"
flutter: ">=3.10.0"
dependencies:
api_client:
path: packages/api_client
audioplayers: ^3.0.1
authentication_repository:
path: packages/authentication_repository
bloc: ^8.1.1
cloud... | io_flip/pubspec.yaml/0 | {
"file_path": "io_flip/pubspec.yaml",
"repo_id": "io_flip",
"token_count": 927
} | 853 |
import 'package:bloc_test/bloc_test.dart';
import 'package:flutter/material.dart' hide ConnectionState;
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:game_domain/game_domain.dart';
import 'package:io_flip/connection/connection.dart';
import 'package:io... | io_flip/test/connection/view/connection_overlay_test.dart/0 | {
"file_path": "io_flip/test/connection/view/connection_overlay_test.dart",
"repo_id": "io_flip",
"token_count": 1401
} | 854 |
import 'package:flutter/widgets.dart';
import 'package:go_router/go_router.dart';
import 'package:mocktail/mocktail.dart';
class MockGoRouter extends Mock implements GoRouter {}
class NeglectRouter {
void neglect(BuildContext context, VoidCallback callback) {}
}
class MockGoRouterProvider extends StatelessWidget {... | io_flip/test/helpers/go_router.dart/0 | {
"file_path": "io_flip/test/helpers/go_router.dart",
"repo_id": "io_flip",
"token_count": 215
} | 855 |
// ignore_for_file: prefer_const_constructors
import 'package:api_client/api_client.dart';
import 'package:bloc_test/bloc_test.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:io_flip/leaderboard/initials_form/initials_form.dart';
import 'package:mocktail/mocktail.dart';
class _MockLeaderboardR... | io_flip/test/leaderboard/initials_form/bloc/initials_form_bloc_test.dart/0 | {
"file_path": "io_flip/test/leaderboard/initials_form/bloc/initials_form_bloc_test.dart",
"repo_id": "io_flip",
"token_count": 1948
} | 856 |
import 'dart:math' as math;
import 'package:bloc_test/bloc_test.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:game_domain/game_domain.dart';
import 'package:io_flip/prompt/prompt.dart';
import 'package:io... | io_flip/test/prompt/view/prompt_form_test.dart/0 | {
"file_path": "io_flip/test/prompt/view/prompt_form_test.dart",
"repo_id": "io_flip",
"token_count": 1669
} | 857 |
import 'package:api_client/api_client.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:game_domain/game_domain.dart';
import 'package:io_flip/share/share.dart';
import 'package:io_flip_ui/io_flip_ui.dart';
import 'package:mocktail/mocktail.dart';
import 'pac... | io_flip/test/share/views/share_card_dialog_test.dart/0 | {
"file_path": "io_flip/test/share/views/share_card_dialog_test.dart",
"repo_id": "io_flip",
"token_count": 891
} | 858 |
{
"label": "Flutter Development",
"position": 4,
"link": {
"title": "Flutter Development",
"type": "generated-index",
"description": "How to start development on your news Flutter application."
}
}
| news_toolkit/docs/docs/flutter_development/_category_.json/0 | {
"file_path": "news_toolkit/docs/docs/flutter_development/_category_.json",
"repo_id": "news_toolkit",
"token_count": 73
} | 859 |
---
sidebar_position: 7
description: Learn how to setup continous deployments for your application.
---
# App deployment setup
## Codemagic
:::note
Codemagic is not a required service for this project. You're welcome to use other automated CI/CD services for your apps, if desired.
:::
Codemagic is an automated CI... | news_toolkit/docs/docs/project_configuration/app_deployment.md/0 | {
"file_path": "news_toolkit/docs/docs/project_configuration/app_deployment.md",
"repo_id": "news_toolkit",
"token_count": 436
} | 860 |
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
// @ts-check
/** @type {import('@d... | news_toolkit/docs/sidebars.js/0 | {
"file_path": "news_toolkit/docs/sidebars.js",
"repo_id": "news_toolkit",
"token_count": 252
} | 861 |
package com.flutter.news.example
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| news_toolkit/flutter_news_example/android/app/src/main/kotlin/ventures/verygood/start/very_good_project/MainActivity.kt/0 | {
"file_path": "news_toolkit/flutter_news_example/android/app/src/main/kotlin/ventures/verygood/start/very_good_project/MainActivity.kt",
"repo_id": "news_toolkit",
"token_count": 39
} | 862 |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#30C7E7</color>
</resources> | news_toolkit/flutter_news_example/android/app/src/main/res/values/ic_launcher_background.xml/0 | {
"file_path": "news_toolkit/flutter_news_example/android/app/src/main/res/values/ic_launcher_background.xml",
"repo_id": "news_toolkit",
"token_count": 47
} | 863 |
import 'package:equatable/equatable.dart';
import 'package:json_annotation/json_annotation.dart';
import 'package:news_blocks/news_blocks.dart';
part 'feed.g.dart';
/// {@template feed}
/// A news feed object which contains paginated news feed metadata.
/// {@endtemplate}
@JsonSerializable()
class Feed extends Equata... | news_toolkit/flutter_news_example/api/lib/src/data/models/feed.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/api/lib/src/data/models/feed.dart",
"repo_id": "news_toolkit",
"token_count": 292
} | 864 |
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'article_response.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
ArticleResponse _$ArticleResponseFromJson(Map<String, dyn... | news_toolkit/flutter_news_example/api/lib/src/models/article_response/article_response.g.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/api/lib/src/models/article_response/article_response.g.dart",
"repo_id": "news_toolkit",
"token_count": 326
} | 865 |
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: cast_nullable_to_non_nullable, implicit_dynamic_parameter, lines_longer_than_80_chars, prefer_const_constructors, require_trailing_commas
part of 'html_block.dart';
// **************************************************************************
// JsonSeria... | news_toolkit/flutter_news_example/api/packages/news_blocks/lib/src/html_block.g.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/api/packages/news_blocks/lib/src/html_block.g.dart",
"repo_id": "news_toolkit",
"token_count": 345
} | 866 |
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: cast_nullable_to_non_nullable, implicit_dynamic_parameter, lines_longer_than_80_chars, prefer_const_constructors, require_trailing_commas
part of 'post_medium_block.dart';
// **************************************************************************
// Js... | news_toolkit/flutter_news_example/api/packages/news_blocks/lib/src/post_medium_block.g.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/api/packages/news_blocks/lib/src/post_medium_block.g.dart",
"repo_id": "news_toolkit",
"token_count": 1079
} | 867 |
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: cast_nullable_to_non_nullable, implicit_dynamic_parameter, lines_longer_than_80_chars, prefer_const_constructors, require_trailing_commas
part of 'text_headline_block.dart';
// **************************************************************************
// ... | news_toolkit/flutter_news_example/api/packages/news_blocks/lib/src/text_headline_block.g.dart/0 | {
"file_path": "news_toolkit/flutter_news_example/api/packages/news_blocks/lib/src/text_headline_block.g.dart",
"repo_id": "news_toolkit",
"token_count": 363
} | 868 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.