text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
This directory contains templates for `flutter create`. The `*_shared` subdirectories provide files for multiple templates. * `app_shared` for `app` and `skeleton`. * `plugin_shared` for (method channel) `plugin` and `plugin_ffi`. For example, there are two app templates: `app` (the counter app) and `skeleton` (the ...
flutter/packages/flutter_tools/templates/README.md/0
{ "file_path": "flutter/packages/flutter_tools/templates/README.md", "repo_id": "flutter", "token_count": 264 }
751
// Generated file. Do not edit. buildscript { ext.kotlin_version = "{{kotlinVersion}}" repositories { google() mavenCentral() } dependencies { classpath("com.android.tools.build:gradle:{{agpVersionForModule}}") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotli...
flutter/packages/flutter_tools/templates/module/android/gradle/build.gradle.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/module/android/gradle/build.gradle.tmpl", "repo_id": "flutter", "token_count": 359 }
752
// Generated file. Do not edit. rootProject.name = 'android_generated' setBinding(new Binding([gradle: this])) evaluate(new File(settingsDir, 'include_flutter.groovy'))
flutter/packages/flutter_tools/templates/module/android/library_new_embedding/settings.gradle.copy.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/module/android/library_new_embedding/settings.gradle.copy.tmpl", "repo_id": "flutter", "token_count": 55 }
753
// ignore_for_file: always_specify_types // ignore_for_file: camel_case_types // ignore_for_file: non_constant_identifier_names // AUTO GENERATED FILE, DO NOT EDIT. // // Generated by `package:ffigen`. import 'dart:ffi' as ffi; /// A very short-lived native function. /// /// For very short-lived functions, it is fine...
flutter/packages/flutter_tools/templates/package_ffi/lib/projectName_bindings_generated.dart.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/package_ffi/lib/projectName_bindings_generated.dart.tmpl", "repo_id": "flutter", "token_count": 307 }
754
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="{{androidIdentifier}}"> </manifest>
flutter/packages/flutter_tools/templates/plugin/android.tmpl/src/main/AndroidManifest.xml.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/plugin/android.tmpl/src/main/AndroidManifest.xml.tmpl", "repo_id": "flutter", "token_count": 41 }
755
#include <flutter_linux/flutter_linux.h> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "include/{{projectName}}/{{pluginClassSnakeCase}}.h" #include "{{pluginClassSnakeCase}}_private.h" // This demonstrates a simple unit test of the C portion of this plugin's // implementation. // // Once you have built ...
flutter/packages/flutter_tools/templates/plugin/linux.tmpl/test/pluginClassSnakeCase_test.cc.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/plugin/linux.tmpl/test/pluginClassSnakeCase_test.cc.tmpl", "repo_id": "flutter", "token_count": 382 }
756
# # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. # Run `pod lib lint {{projectName}}.podspec` to validate before publishing. # Pod::Spec.new do |s| s.name = '{{projectName}}' s.version = '0.0.1' s.summary = '{{description}}' s.description ...
flutter/packages/flutter_tools/templates/plugin_shared/macos.tmpl/projectName.podspec.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/plugin_shared/macos.tmpl/projectName.podspec.tmpl", "repo_id": "flutter", "token_count": 457 }
757
import 'package:flutter/material.dart'; /// A service that stores and retrieves user settings. /// /// By default, this class does not persist user settings. If you'd like to /// persist the user settings locally, use the shared_preferences package. If /// you'd like to store settings on a web server, use the http pac...
flutter/packages/flutter_tools/templates/skeleton/lib/src/settings/settings_service.dart.tmpl/0
{ "file_path": "flutter/packages/flutter_tools/templates/skeleton/lib/src/settings/settings_service.dart.tmpl", "repo_id": "flutter", "token_count": 192 }
758
# Android preview integration tests This directory contains integration tests which would otherwise live in `integration.shard`, but require a dependency on a CIPD-hosted preview version of Android (and therefore their own test shard). For additional information see the README in the `../integration.shard` directory.
flutter/packages/flutter_tools/test/android_preview_integration.shard/README.md/0
{ "file_path": "flutter/packages/flutter_tools/test/android_preview_integration.shard/README.md", "repo_id": "flutter", "token_count": 70 }
759
// 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/command_runner.dart'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/artifacts.dart'; import 'package:flutter_to...
flutter/packages/flutter_tools/test/commands.shard/hermetic/build_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/commands.shard/hermetic/build_test.dart", "repo_id": "flutter", "token_count": 2444 }
760
// 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_device.dart'; import 'package:flutter...
flutter/packages/flutter_tools/test/commands.shard/hermetic/install_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/commands.shard/hermetic/install_test.dart", "repo_id": "flutter", "token_count": 2185 }
761
// 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/command_runner.dart'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/android/android_builder.dart'; import 'pack...
flutter/packages/flutter_tools/test/commands.shard/permeable/build_appbundle_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/commands.shard/permeable/build_appbundle_test.dart", "repo_id": "flutter", "token_count": 3328 }
762
// 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_device_start_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/android/android_device_start_test.dart", "repo_id": "flutter", "token_count": 4062 }
763
// 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/gradle_utils.dart'; import 'package:flutter_tools/src/base/file_system.dart'; ...
flutter/packages/flutter_tools/test/general.shard/android/gradle_utils_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/android/gradle_utils_test.dart", "repo_id": "flutter", "token_count": 21503 }
764
// 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/bot_detector.dart'; import 'package:flutter_tools/src/base/io.dart'; import 'pack...
flutter/packages/flutter_tools/test/general.shard/base/bot_detector_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/base/bot_detector_test.dart", "repo_id": "flutter", "token_count": 2578 }
765
// 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/io.dart'; import 'package:flutter_tools/src/base/logger.dart'; import 'package:flutter_tools/src/base/platform.dart'...
flutter/packages/flutter_tools/test/general.shard/base/process_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/base/process_test.dart", "repo_id": "flutter", "token_count": 5371 }
766
// 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:collection/collection.dart' show IterableExtension; import 'package:file/memory.dart'; import 'package:fil...
flutter/packages/flutter_tools/test/general.shard/build_system/targets/assets_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/build_system/targets/assets_test.dart", "repo_id": "flutter", "token_count": 5772 }
767
// 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/command_runner.dart'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'package:flu...
flutter/packages/flutter_tools/test/general.shard/channel_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/channel_test.dart", "repo_id": "flutter", "token_count": 5508 }
768
// 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/commands/create_base.dart'; import '../src/common.dart'; void main() { test('Validates Pub package name', () { e...
flutter/packages/flutter_tools/test/general.shard/create_config_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/create_config_test.dart", "repo_id": "flutter", "token_count": 535 }
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 'package:flutter_tools/src/base/io.dart'; import 'package:flutter_tools/src/base/logger.dart'; import 'package:flutter_tools/s...
flutter/packages/flutter_tools/test/general.shard/devtools_launcher_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/devtools_launcher_test.dart", "repo_id": "flutter", "token_count": 2012 }
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:flutter_tools/src/build_info.dart'; import 'package:flutter_tools/src/fuchsia/fuchsia_kernel_compiler.dart'; import '../../src/common.dart...
flutter/packages/flutter_tools/test/general.shard/fuchsia/fuchsia_kernel_compiler_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/fuchsia/fuchsia_kernel_compiler_test.dart", "repo_id": "flutter", "token_count": 680 }
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 'package:flutter_tools/src/base/logger.dart'; import 'package:flutter_tools/src/ios/devices.dart'; import '../../src/common.dart'; import '../../sr...
flutter/packages/flutter_tools/test/general.shard/ios/ios_device_port_forwarder_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/ios/ios_device_port_forwarder_test.dart", "repo_id": "flutter", "token_count": 646 }
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 'package:file/file.dart'; import 'package:file/memory.dart'; import 'package:file_testing/file_testing.dart'; import 'package:flutter_tools/src/arti...
flutter/packages/flutter_tools/test/general.shard/isolated/ios/native_assets_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/isolated/ios/native_assets_test.dart", "repo_id": "flutter", "token_count": 4857 }
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 'package:flutter_tools/src/base/platform.dart'; import 'package:flutter_tools/src/macos/macos_workflow.dart'; import '../../src/common.dart'; impor...
flutter/packages/flutter_tools/test/general.shard/macos/macos_workflow_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/macos/macos_workflow_test.dart", "repo_id": "flutter", "token_count": 578 }
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 'dart:async'; import 'dart:io'; import 'dart:typed_data'; import 'package:file/memory.dart'; import 'package:flutter_tools/src/application_package....
flutter/packages/flutter_tools/test/general.shard/proxied_devices/proxied_devices_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/proxied_devices/proxied_devices_test.dart", "repo_id": "flutter", "token_count": 13820 }
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 'dart:typed_data'; import 'package:file/memory.dart'; import 'package:file_testing/file_testing.dart'; import 'package:flutter_tools/src/base/file_...
flutter/packages/flutter_tools/test/general.shard/template_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/template_test.dart", "repo_id": "flutter", "token_count": 2922 }
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/memory.dart'; import 'package:flutter_tools/src/base/file_system.dart'; import 'package:flutter_tools/src/base/platform.dart'; import ...
flutter/packages/flutter_tools/test/general.shard/vscode/vscode_validator_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/vscode/vscode_validator_test.dart", "repo_id": "flutter", "token_count": 599 }
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 '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/windows/migrations/build_architecture_migration_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/general.shard/windows/migrations/build_architecture_migration_test.dart", "repo_id": "flutter", "token_count": 5334 }
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/file.dart'; import 'package:file_testing/file_testing.dart'; import 'package:flutter_tools/src/base/io.dart'; import '../src/common.d...
flutter/packages/flutter_tools/test/integration.shard/analyze_size_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/analyze_size_test.dart", "repo_id": "flutter", "token_count": 3050 }
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. import 'dart:async'; import 'dart:convert'; import 'package:file/file.dart'; import 'package:flutter_tools/src/base/io.dart'; import '../src/common.dart'...
flutter/packages/flutter_tools/test/integration.shard/batch_entrypoint_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/batch_entrypoint_test.dart", "repo_id": "flutter", "token_count": 1243 }
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_testing/file_testing.dart'; import 'package:flutter_tools/src/base/io.dart'; import '../src/common.d...
flutter/packages/flutter_tools/test/integration.shard/deprecated_gradle_settings_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/deprecated_gradle_settings_test.dart", "repo_id": "flutter", "token_count": 850 }
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 'dart:async'; import 'package:file/file.dart'; import '../src/common.dart'; import 'test_data/gen_l10n_project.dart'; import 'test_driver.dart'; i...
flutter/packages/flutter_tools/test/integration.shard/gen_l10n_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/gen_l10n_test.dart", "repo_id": "flutter", "token_count": 3684 }
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 'package:file/file.dart'; import '../test_utils.dart'; abstract class DeferredComponentsConfig { String get deferredLibrary; String? get defer...
flutter/packages/flutter_tools/test/integration.shard/test_data/deferred_components_config.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/test_data/deferred_components_config.dart", "repo_id": "flutter", "token_count": 1783 }
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 'project.dart'; class TestProject extends Project { @override final String pubspec = ''' name: test environment: sdk: '>=3.2.0-0 <4.0....
flutter/packages/flutter_tools/test/integration.shard/test_data/test_project.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/integration.shard/test_data/test_project.dart", "repo_id": "flutter", "token_count": 294 }
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 'dart:async'; import 'package:flutter_tools/src/android/android_workflow.dart'; import 'package:flutter_tools/src/base/bot_detector.dart'; import '...
flutter/packages/flutter_tools/test/src/context.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/src/context.dart", "repo_id": "flutter", "token_count": 5423 }
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 'dart:async'; import 'dart:io' as io; import 'package:fake_async/fake_async.dart'; import 'package:file/memory.dart'; import 'package:file_testing/...
flutter/packages/flutter_tools/test/web.shard/chrome_test.dart/0
{ "file_path": "flutter/packages/flutter_tools/test/web.shard/chrome_test.dart", "repo_id": "flutter", "token_count": 10313 }
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 'url_strategy.dart'; /// Function type that handles pop state events. typedef EventListener = dynamic Function(Object event); /// Encapsulates all...
flutter/packages/flutter_web_plugins/lib/src/navigation_non_web/platform_location.dart/0
{ "file_path": "flutter/packages/flutter_web_plugins/lib/src/navigation_non_web/platform_location.dart", "repo_id": "flutter", "token_count": 1079 }
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 'dart:io'; import 'package:vm_service/vm_service.dart' as vms; import '../common/logging.dart'; const Duration _kConnectTime...
flutter/packages/fuchsia_remote_debug_protocol/lib/src/dart/dart_vm.dart/0
{ "file_path": "flutter/packages/fuchsia_remote_debug_protocol/lib/src/dart/dart_vm.dart", "repo_id": "flutter", "token_count": 2844 }
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:flutter_driver/flutter_driver.dart'; import 'package:integration_test/common.dart' as common; import 'package:test/test.dart'; /// This fi...
flutter/packages/integration_test/example/test_driver/failure_test.dart/0
{ "file_path": "flutter/packages/integration_test/example/test_driver/failure_test.dart", "repo_id": "flutter", "token_count": 328 }
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 "FLTIntegrationTestRunner.h" #import "IntegrationTestPlugin.h" @import ObjectiveC.runtime; @import UIKit; @interface FLTIntegrationTestRunner ()...
flutter/packages/integration_test/ios/Classes/FLTIntegrationTestRunner.m/0
{ "file_path": "flutter/packages/integration_test/ios/Classes/FLTIntegrationTestRunner.m", "repo_id": "flutter", "token_count": 791 }
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 'dart:async'; import 'dart:convert'; import 'dart:html' as html; import 'dart:js'; import 'dart:js_util' as js_util; /// The web implementation of ...
flutter/packages/integration_test/lib/src/_extension_web.dart/0
{ "file_path": "flutter/packages/integration_test/lib/src/_extension_web.dart", "repo_id": "flutter", "token_count": 566 }
791
# This file tracks properties of this Flutter project. # Used by Flutter tool to assess capabilities and perform upgrades etc. # # This file should be version controlled. version: revision: f6b9c4da23f88394ae33a1915da47274a2d705d7 channel: main project_type: app # Tracks metadata for the flutter migrate command ...
gallery/.metadata/0
{ "file_path": "gallery/.metadata", "repo_id": "gallery", "token_count": 758 }
792
<?xml version="1.0" encoding="utf-8"?> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <background android:drawable="@mipmap/ic_launcher_background"/> <foreground android:drawable="@mipmap/ic_launcher_foreground"/> </adaptive-icon>
gallery/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml/0
{ "file_path": "gallery/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml", "repo_id": "gallery", "token_count": 98 }
793
// 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 'package:flutter/material.dart'; typedef LibraryLoader = Future<void> Function(); typedef DeferredWidgetBuilder = Widget Function...
gallery/lib/deferred_widget.dart/0
{ "file_path": "gallery/lib/deferred_widget.dart", "repo_id": "gallery", "token_count": 1313 }
794
// 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'; // BEGIN appbarDemo class AppBarDemo extends State...
gallery/lib/demos/material/app_bar_demo.dart/0
{ "file_path": "gallery/lib/demos/material/app_bar_demo.dart", "repo_id": "gallery", "token_count": 1032 }
795
// 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'; // BEGIN navDrawerDemo // Press the Navigation Dra...
gallery/lib/demos/material/navigation_drawer.dart/0
{ "file_path": "gallery/lib/demos/material/navigation_drawer.dart", "repo_id": "gallery", "token_count": 890 }
796
import 'package:animations/animations.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/gallery_localizations.dart'; // BEGIN sharedZAxisTransitionDemo class SharedZAxisTransitionDemo extends StatelessWidget { const SharedZAxisTransitionDemo({super.key}); @override Widget buil...
gallery/lib/demos/reference/motion_demo_shared_z_axis_transition.dart/0
{ "file_path": "gallery/lib/demos/reference/motion_demo_shared_z_axis_transition.dart", "repo_id": "gallery", "token_count": 3213 }
797
{ "loading": "Kargatzen", "deselect": "Desautatu", "select": "Hautatu", "selectable": "Hauta daiteke (luze sakatuta)", "selected": "Hautatuta", "demo": "Demo-bertsioa", "bottomAppBar": "Aplikazioaren behealdeko barra", "notSelected": "Hautatu gabe", "demoCupertinoSearchTextFieldTitle": "Testua bilatze...
gallery/lib/l10n/intl_eu.arb/0
{ "file_path": "gallery/lib/l10n/intl_eu.arb", "repo_id": "gallery", "token_count": 21177 }
798
{ "loading": "Hleður", "deselect": "Afvelja", "select": "Velja", "selectable": "Hægt að velja (haldið inni)", "selected": "Valið", "demo": "Prufuútgáfa", "bottomAppBar": "Forritastika neðst", "notSelected": "Ekki valið", "demoCupertinoSearchTextFieldTitle": "Textareitur fyrir leit", "demoCupertinoPi...
gallery/lib/l10n/intl_is.arb/0
{ "file_path": "gallery/lib/l10n/intl_is.arb", "repo_id": "gallery", "token_count": 21188 }
799
{ "loading": "Memuatkan", "deselect": "Nyahpilih", "select": "Pilih", "selectable": "Boleh pilih (tekan lama)", "selected": "Dipilih", "demo": "Demo", "bottomAppBar": "Bar apl sebelah bawah", "notSelected": "Tidak dipilih", "demoCupertinoSearchTextFieldTitle": "Medan teks carian", "demoCupertinoPick...
gallery/lib/l10n/intl_ms.arb/0
{ "file_path": "gallery/lib/l10n/intl_ms.arb", "repo_id": "gallery", "token_count": 19056 }
800
{ "loading": "Po ngarkohet", "deselect": "Hiq përzgjedhjen", "select": "Zgjidh", "selectable": "Mund të zgjidhet (shtypje e gjatë)", "selected": "Zgjedhur", "demo": "Demonstrim", "bottomAppBar": "Shiriti i aplikacioneve në fund", "notSelected": "Nuk është zgjedhur", "demoCupertinoSearchTextFieldTitle"...
gallery/lib/l10n/intl_sq.arb/0
{ "file_path": "gallery/lib/l10n/intl_sq.arb", "repo_id": "gallery", "token_count": 22804 }
801
{ "loading": "正在載入", "deselect": "取消選取", "select": "選取", "selectable": "可選擇 (長按)", "selected": "已選取", "demo": "示範", "bottomAppBar": "底部應用程式列", "notSelected": "未選取", "demoCupertinoSearchTextFieldTitle": "搜尋文字欄位", "demoCupertinoPicker": "點選器", "demoCupertinoSearchTextFieldSubtitle": "iOS 樣式的搜尋文字欄位",...
gallery/lib/l10n/intl_zh_HK.arb/0
{ "file_path": "gallery/lib/l10n/intl_zh_HK.arb", "repo_id": "gallery", "token_count": 25373 }
802
// 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'; // Color gradients. const pinkLeft = Color(0xFFFF5983); const pinkRight = Color(0xFFFF8383); con...
gallery/lib/pages/settings_icon/metrics.dart/0
{ "file_path": "gallery/lib/pages/settings_icon/metrics.dart", "repo_id": "gallery", "token_count": 1143 }
803
// 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/foundation.dart'; import 'package:flutter/material.dart'; class MaterialDemoThemeData { static final themeData = ThemeData( c...
gallery/lib/themes/material_demo_theme_data.dart/0
{ "file_path": "gallery/lib/themes/material_demo_theme_data.dart", "repo_id": "gallery", "token_count": 1245 }
804
import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:gallery/data/demos.dart'; import 'package:gallery/main.dart'; import 'package:gallery/pages/demo.dart'; import 'package:gallery/pages/home.dart'; import 'package:gallery/studies/reply/app.dart'; import 'package:gall...
gallery/test/restoration_test.dart/0
{ "file_path": "gallery/test/restoration_test.dart", "repo_id": "gallery", "token_count": 2429 }
805
# Golden tests Golden tests, also called screenshot tests, let's you write tests to easily find UI regressions. It compares the UI to saved golden screenshots, and if there is a pixel difference the tests will fail. It gives us confidence that code changes does not cause UI regressions. ## Updating goldens An expect...
gallery/test_goldens/README.md/0
{ "file_path": "gallery/test_goldens/README.md", "repo_id": "gallery", "token_count": 604 }
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:string_scanner/string_scanner.dart'; abstract class SyntaxPrehighlighter { List<CodeSpan> format(String src); } class DartSyntaxPrehighlig...
gallery/tool/codeviewer_cli/prehighlighter.dart/0
{ "file_path": "gallery/tool/codeviewer_cli/prehighlighter.dart", "repo_id": "gallery", "token_count": 4536 }
807
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'template_metadata.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** TemplateMetadata _$TemplateMetadataFromJson(Map<String, ...
io_flip/api/lib/templates/template_metadata.g.dart/0
{ "file_path": "io_flip/api/lib/templates/template_metadata.g.dart", "repo_id": "io_flip", "token_count": 337 }
808
import 'dart:math' as math; import 'package:image/image.dart'; /// Applies a rainbow filter to the image. Image rainbowFilter(Image image) { const saturation = 0.95; for (final frame in image.frames) { for (final p in frame) { var hue = p.xNormalized / 1.75; hue = hue.remainder(1); final src...
io_flip/api/packages/card_renderer/lib/src/rainbow_filter.dart/0
{ "file_path": "io_flip/api/packages/card_renderer/lib/src/rainbow_filter.dart", "repo_id": "io_flip", "token_count": 322 }
809
/// Repository with access to dynamic project configurations library config_repository; export 'src/config_repository.dart';
io_flip/api/packages/config_repository/lib/config_repository.dart/0
{ "file_path": "io_flip/api/packages/config_repository/lib/config_repository.dart", "repo_id": "io_flip", "token_count": 33 }
810
/// A dart_frog middleware for encrypting responses. library encryption_middleware; export 'src/encryption_middleware.dart';
io_flip/api/packages/encryption_middleware/lib/encryption_middleware.dart/0
{ "file_path": "io_flip/api/packages/encryption_middleware/lib/encryption_middleware.dart", "repo_id": "io_flip", "token_count": 35 }
811
import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; part 'card.g.dart'; /// Represents the suit or family of card. enum Suit { /// Represents the suit of fire. fire, /// Represents the suit of air. air, /// Represents the suit of earth. earth, /// Represe...
io_flip/api/packages/game_domain/lib/src/models/card.dart/0
{ "file_path": "io_flip/api/packages/game_domain/lib/src/models/card.dart", "repo_id": "io_flip", "token_count": 706 }
812
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'prompt_term.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** PromptTerm _$PromptTermFromJson(Map<String, dynamic> json) => ...
io_flip/api/packages/game_domain/lib/src/models/prompt_term.g.dart/0
{ "file_path": "io_flip/api/packages/game_domain/lib/src/models/prompt_term.g.dart", "repo_id": "io_flip", "token_count": 322 }
813
// ignore_for_file: prefer_const_constructors import 'package:game_domain/game_domain.dart'; import 'package:test/test.dart'; void main() { group('ScoreCard', () { test('can be instantiated', () { expect( ScoreCard( id: '', ), isNotNull, ); }); final scoreCa...
io_flip/api/packages/game_domain/test/src/models/score_card_test.dart/0
{ "file_path": "io_flip/api/packages/game_domain/test/src/models/score_card_test.dart", "repo_id": "io_flip", "token_count": 2879 }
814
/// Repository providing access image model services library image_model_repository; export 'src/image_model_repository.dart';
io_flip/api/packages/image_model_repository/lib/image_model_repository.dart/0
{ "file_path": "io_flip/api/packages/image_model_repository/lib/image_model_repository.dart", "repo_id": "io_flip", "token_count": 36 }
815
include: package:very_good_analysis/analysis_options.4.0.0.yaml
io_flip/api/packages/scripts_repository/analysis_options.yaml/0
{ "file_path": "io_flip/api/packages/scripts_repository/analysis_options.yaml", "repo_id": "io_flip", "token_count": 23 }
816
import 'dart:async'; import 'dart:io'; import 'package:dart_frog/dart_frog.dart'; import 'package:leaderboard_repository/leaderboard_repository.dart'; FutureOr<Response> onRequest(RequestContext context) async { if (context.request.method == HttpMethod.post) { final json = await context.request.json() as Map<St...
io_flip/api/routes/game/leaderboard/initials/index.dart/0
{ "file_path": "io_flip/api/routes/game/leaderboard/initials/index.dart", "repo_id": "io_flip", "token_count": 361 }
817
import 'dart:io'; import 'package:config_repository/config_repository.dart'; import 'package:dart_frog/dart_frog.dart'; import 'package:mocktail/mocktail.dart'; import 'package:test/test.dart'; import '../../../../routes/game/configs/index.dart' as route; class _MockRequestContext extends Mock implements RequestCont...
io_flip/api/test/routes/game/configs/configs_test.dart/0
{ "file_path": "io_flip/api/test/routes/game/configs/configs_test.dart", "repo_id": "io_flip", "token_count": 661 }
818
import 'dart:io'; import 'package:api/game_url.dart'; import 'package:cards_repository/cards_repository.dart'; import 'package:dart_frog/dart_frog.dart'; import 'package:game_domain/game_domain.dart'; import 'package:leaderboard_repository/leaderboard_repository.dart'; import 'package:logging/logging.dart'; import 'pa...
io_flip/api/test/routes/public/share_test.dart/0
{ "file_path": "io_flip/api/test/routes/public/share_test.dart", "repo_id": "io_flip", "token_count": 2076 }
819
name: data_loader description: Dart tool that feed data into the Database version: 0.1.0+1 publish_to: none environment: sdk: ">=2.18.0 <3.0.0" executables: data_loader: dependencies: csv: ^5.0.2 db_client: path: ../../packages/db_client game_domain: path: ../../packages/game_domain path: ^1.8.3 ...
io_flip/api/tools/data_loader/pubspec.yaml/0
{ "file_path": "io_flip/api/tools/data_loader/pubspec.yaml", "repo_id": "io_flip", "token_count": 203 }
820
import 'mocha'; import * as functionsTest from 'firebase-functions-test'; import * as sinon from 'sinon'; import * as admin from 'firebase-admin'; import {expect} from 'chai'; describe('deleteUserData', () => { let adminInitStub: sinon.SinonStub; let firestoreStub: sinon.SinonStub; let collectionStub: sinon.Sino...
io_flip/functions/test/deleteUserData.test.ts/0
{ "file_path": "io_flip/functions/test/deleteUserData.test.ts", "repo_id": "io_flip", "token_count": 2228 }
821
part of 'connection_bloc.dart'; abstract class ConnectionState extends Equatable { const ConnectionState(); @override List<Object> get props => []; } class ConnectionInitial extends ConnectionState { const ConnectionInitial(); } class ConnectionInProgress extends ConnectionState { const ConnectionInProgre...
io_flip/lib/connection/bloc/connection_state.dart/0
{ "file_path": "io_flip/lib/connection/bloc/connection_state.dart", "repo_id": "io_flip", "token_count": 146 }
822
import 'dart:async'; import 'dart:math' as math; 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_bloc/flutter_blo...
io_flip/lib/game/bloc/game_bloc.dart/0
{ "file_path": "io_flip/lib/game/bloc/game_bloc.dart", "repo_id": "io_flip", "token_count": 8424 }
823
export 'bloc/how_to_play_bloc.dart'; export 'view/how_to_play_dialog.dart'; export 'view/how_to_play_view.dart'; export 'widgets/widgets.dart';
io_flip/lib/how_to_play/how_to_play.dart/0
{ "file_path": "io_flip/lib/how_to_play/how_to_play.dart", "repo_id": "io_flip", "token_count": 63 }
824
part of 'leaderboard_bloc.dart'; abstract class LeaderboardEvent extends Equatable { const LeaderboardEvent(); } class LeaderboardRequested extends LeaderboardEvent { const LeaderboardRequested(); @override List<Object> get props => []; }
io_flip/lib/leaderboard/bloc/leaderboard_event.dart/0
{ "file_path": "io_flip/lib/leaderboard/bloc/leaderboard_event.dart", "repo_id": "io_flip", "token_count": 71 }
825
import 'package:api_client/api_client.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:go_router/go_router.dart'; import 'package:io_flip/gen/assets.gen.dart'; import 'package:io_flip/how_to_play/how_to_play.dart'; import 'package:io_flip/info/info.dart'; i...
io_flip/lib/main_menu/main_menu_screen.dart/0
{ "file_path": "io_flip/lib/main_menu/main_menu_screen.dart", "repo_id": "io_flip", "token_count": 1451 }
826
import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:game_domain/game_domain.dart'; import 'package:io_flip/audio/audio.dart'; import 'package:io_flip/l10n/l10n.dart'; import 'package:io_flip/prompt/prompt.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; class PromptFormVi...
io_flip/lib/prompt/view/prompt_form_view.dart/0
{ "file_path": "io_flip/lib/prompt/view/prompt_form_view.dart", "repo_id": "io_flip", "token_count": 3601 }
827
export 'local_storage_settings_persistence.dart'; export 'memory_settings_persistence.dart'; export 'settings_persistence.dart';
io_flip/lib/settings/persistence/persistence.dart/0
{ "file_path": "io_flip/lib/settings/persistence/persistence.dart", "repo_id": "io_flip", "token_count": 39 }
828
// ignore_for_file: avoid_print import 'package:api_client/api_client.dart'; import 'package:game_domain/game_domain.dart'; void main() async { final client = ApiClient( baseUrl: 'https://top-dash-dev-api-synvj3dcmq-uc.a.run.app', idTokenStream: const Stream.empty(), refreshIdToken: () async => null, ...
io_flip/packages/api_client/example/main.dart/0
{ "file_path": "io_flip/packages/api_client/example/main.dart", "repo_id": "io_flip", "token_count": 164 }
829
import 'dart:developer'; import 'package:cloud_firestore/cloud_firestore.dart'; /// {@template config_repository} /// Repository for remote configs. /// {@endtemplate} class ConfigRepository { /// {@macro config_repository} ConfigRepository({ required this.db, }) { configCollection = db.collection('conf...
io_flip/packages/config_repository/lib/src/config_repository.dart/0
{ "file_path": "io_flip/packages/config_repository/lib/src/config_repository.dart", "repo_id": "io_flip", "token_count": 929 }
830
import 'package:flame/cache.dart'; import 'package:flutter/material.dart' hide Element; import 'package:gallery/story_scaffold.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; import 'package:provider/provider.dart'; class ElementalDamageStory extends StatefulWidget { const ElementalDamageStory(this.element, {sup...
io_flip/packages/io_flip_ui/gallery/lib/widgets/elemental_damage_story.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/gallery/lib/widgets/elemental_damage_story.dart", "repo_id": "io_flip", "token_count": 2950 }
831
import 'package:io_flip_ui/gen/assets.gen.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; /// {@template metal_damage} // ignore: comment_references /// A widget that renders several [SpriteAnimation]s for the damages /// of a card on another. /// {@endtemplate} class MetalDamage extends ElementalDamage { /// {@...
io_flip/packages/io_flip_ui/lib/src/animations/damages/metal_damage.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/lib/src/animations/damages/metal_damage.dart", "repo_id": "io_flip", "token_count": 467 }
832
export 'platform_aware_asset.dart';
io_flip/packages/io_flip_ui/lib/src/utils/utils.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/lib/src/utils/utils.dart", "repo_id": "io_flip", "token_count": 13 }
833
import 'dart:math' as math; import 'dart:ui'; import 'package:equatable/equatable.dart'; import 'package:flutter/material.dart' hide Card; import 'package:flutter_svg/flutter_svg.dart'; import 'package:io_flip_ui/gen/assets.gen.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; /// {@template game_card_size} /// A c...
io_flip/packages/io_flip_ui/lib/src/widgets/game_card.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/lib/src/widgets/game_card.dart", "repo_id": "io_flip", "token_count": 7348 }
834
import 'package:flutter_test/flutter_test.dart'; import 'package:io_flip_ui/io_flip_ui.dart'; void main() { group('GameCardRect', () { test('rect returns the correct value', () { const gameCardSize = GameCardSize.xs(); const offset = Offset(20, 50); const gameCardRect = GameCardRect( ga...
io_flip/packages/io_flip_ui/test/src/animations/game_card_rect_tween_test.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/test/src/animations/game_card_rect_tween_test.dart", "repo_id": "io_flip", "token_count": 680 }
835
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/io_flip_ui.dart'; import 'package:mocktail/mocktail.dart'; import 'package:provider/provider.dart'; class _MockImages extends Mock ...
io_flip/packages/io_flip_ui/test/src/widgets/flip_countdown_test.dart/0
{ "file_path": "io_flip/packages/io_flip_ui/test/src/widgets/flip_countdown_test.dart", "repo_id": "io_flip", "token_count": 796 }
836
// ignore_for_file: prefer_const_constructors, one_member_abstracts import 'package:api_client/api_client.dart'; import 'package:bloc_test/bloc_test.dart'; import 'package:flame/cache.dart'; import 'package:flutter/material.dart' hide Card; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_test/...
io_flip/test/draft/views/draft_view_test.dart/0
{ "file_path": "io_flip/test/draft/views/draft_view_test.dart", "repo_id": "io_flip", "token_count": 9274 }
837
import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_flip/l10n/l10n.dart'; extension TesterL10n on WidgetTester { AppLocalizations get l10n { final app = widget<MaterialApp>(find.byType(MaterialApp)); final locale = app.locale ?? app.supportedLocales.fi...
io_flip/test/helpers/tester_l10n.dart/0
{ "file_path": "io_flip/test/helpers/tester_l10n.dart", "repo_id": "io_flip", "token_count": 135 }
838
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' as gd; import 'package:io_flip/leaderboard/leaderboard.dart'; import 'package:mocktail/mockta...
io_flip/test/leaderboard/views/leaderboard_view_test.dart/0
{ "file_path": "io_flip/test/leaderboard/views/leaderboard_view_test.dart", "repo_id": "io_flip", "token_count": 1507 }
839
import 'package:bloc_test/bloc_test.dart'; import 'package:flutter/material.dart' hide Card; import 'package:flutter_test/flutter_test.dart'; import 'package:game_domain/game_domain.dart'; import 'package:go_router/go_router.dart'; import 'package:io_flip/draft/draft.dart'; import 'package:io_flip/game/game.dart'; impo...
io_flip/test/router/router_test.dart/0
{ "file_path": "io_flip/test/router/router_test.dart", "repo_id": "io_flip", "token_count": 2783 }
840
import 'package:bloc_test/bloc_test.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:io_flip/terms_of_use/terms_of_use.dart'; void main() { group('TermsOfUseCubit', () { late TermsOfUseCubit cubit; setUp(() => cubit = TermsOfUseCubit()); test('initial state is false', () { ...
io_flip/test/terms_of_use/cubit/terms_of_use_cubit_test.dart/0
{ "file_path": "io_flip/test/terms_of_use/cubit/terms_of_use_cubit_test.dart", "repo_id": "io_flip", "token_count": 242 }
841
--- sidebar_position: 9 description: Learn how to configure in-app purchases in your Flutter news application. --- # In-app purchases This project supports in-app purchasing for Flutter using the [in_app_purchase](https://pub.dev/packages/in_app_purchase) package. The generated template application provides a mocked ...
news_toolkit/docs/docs/flutter_development/in_app_purchases.md/0
{ "file_path": "news_toolkit/docs/docs/flutter_development/in_app_purchases.md", "repo_id": "news_toolkit", "token_count": 602 }
842
--- sidebar_position: 3 description: Learn how to configure social login with Facebook and Twitter. --- # Authentication setup The Flutter News Toolkit comes pre-configured to support authentication using passwordless email, Google login, Apple ID, and social authentication using Facebook and Twitter login. To set th...
news_toolkit/docs/docs/project_configuration/social_authentication.md/0
{ "file_path": "news_toolkit/docs/docs/project_configuration/social_authentication.md", "repo_id": "news_toolkit", "token_count": 1536 }
843
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "Launch Development", "request": "lau...
news_toolkit/flutter_news_example/.vscode/launch.json/0
{ "file_path": "news_toolkit/flutter_news_example/.vscode/launch.json", "repo_id": "news_toolkit", "token_count": 947 }
844
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'related_articles.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** RelatedArticles _$RelatedArticlesFromJson(Map<String, dyn...
news_toolkit/flutter_news_example/api/lib/src/data/models/related_articles.g.dart/0
{ "file_path": "news_toolkit/flutter_news_example/api/lib/src/data/models/related_articles.g.dart", "repo_id": "news_toolkit", "token_count": 204 }
845
import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; import 'package:news_blocks/news_blocks.dart'; part 'feed_response.g.dart'; /// {@template feed_response} /// A news feed response object which contains news feed metadata. /// {@endtemplate} @JsonSerializable() class Fe...
news_toolkit/flutter_news_example/api/lib/src/models/feed_response/feed_response.dart/0
{ "file_path": "news_toolkit/flutter_news_example/api/lib/src/models/feed_response/feed_response.dart", "repo_id": "news_toolkit", "token_count": 302 }
846
import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; import 'package:news_blocks/news_blocks.dart'; part 'article_introduction_block.g.dart'; /// {@template article_introduction_block} /// A block which represents an article introduction. /// https://www.figma.com/file/Raj...
news_toolkit/flutter_news_example/api/packages/news_blocks/lib/src/article_introduction_block.dart/0
{ "file_path": "news_toolkit/flutter_news_example/api/packages/news_blocks/lib/src/article_introduction_block.dart", "repo_id": "news_toolkit", "token_count": 608 }
847
import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; import 'package:news_blocks/news_blocks.dart'; part 'newsletter_block.g.dart'; /// {@template newsletter_block} /// A block which represents a newsletter. /// https://www.figma.com/file/RajSN6YbRqTuqvdKYtij3b/Google-News...
news_toolkit/flutter_news_example/api/packages/news_blocks/lib/src/newsletter_block.dart/0
{ "file_path": "news_toolkit/flutter_news_example/api/packages/news_blocks/lib/src/newsletter_block.dart", "repo_id": "news_toolkit", "token_count": 334 }
848
import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; import 'package:news_blocks/news_blocks.dart'; part 'slide_block.g.dart'; /// {@template slide_block} /// A block which represents a slide in a slideshow. /// {@endtemplate} @JsonSerializable() class SlideBlock with Equa...
news_toolkit/flutter_news_example/api/packages/news_blocks/lib/src/slide_block.dart/0
{ "file_path": "news_toolkit/flutter_news_example/api/packages/news_blocks/lib/src/slide_block.dart", "repo_id": "news_toolkit", "token_count": 448 }
849
import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; import 'package:news_blocks/news_blocks.dart'; part 'trending_story_block.g.dart'; /// {@template trending_story_block} /// A block which represents a trending story. /// https://www.figma.com/file/RajSN6YbRqTuqvdKYtij3b...
news_toolkit/flutter_news_example/api/packages/news_blocks/lib/src/trending_story_block.dart/0
{ "file_path": "news_toolkit/flutter_news_example/api/packages/news_blocks/lib/src/trending_story_block.dart", "repo_id": "news_toolkit", "token_count": 384 }
850