text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="purple_200">#FFBB86FC</color>
<color name="purple_500">#FF6200EE</color>
<color name="purple_700">#FF3700B3</color>
<color name="teal_200">#FF03DAC5</color>
<color name="teal_700">#FF018786</color>
<color name="black">#FF000000</col... | samples/add_to_app/android_view/android_view/app/src/main/res/values/colors.xml/0 | {
"file_path": "samples/add_to_app/android_view/android_view/app/src/main/res/values/colors.xml",
"repo_id": "samples",
"token_count": 161
} | 1,312 |
name: flutter_module_using_plugin
description: An example Flutter module that uses a plugin.
version: 1.0.0+1
environment:
sdk: ^3.2.0
dependencies:
flutter:
sdk: flutter
provider: ^6.0.2
url_launcher: ^6.0.6
sensors: ^2.0.3
dev_dependencies:
analysis_defaults:
path: ../../../analysis_defaults
... | samples/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml/0 | {
"file_path": "samples/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml",
"repo_id": "samples",
"token_count": 314
} | 1,313 |
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_he... | samples/add_to_app/books/android_books/app/src/main/res/layout/activity_main.xml/0 | {
"file_path": "samples/add_to_app/books/android_books/app/src/main/res/layout/activity_main.xml",
"repo_id": "samples",
"token_count": 640
} | 1,314 |
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<ite... | samples/add_to_app/books/android_books/app/src/main/res/values/styles.xml/0 | {
"file_path": "samples/add_to_app/books/android_books/app/src/main/res/values/styles.xml",
"repo_id": "samples",
"token_count": 140
} | 1,315 |
// Copyright 2020 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_module_books/api.dart';
import 'package:flutter_module_books/main.dart';
import 'package:flutt... | samples/add_to_app/books/flutter_module_books/test/widget_test.dart/0 | {
"file_path": "samples/add_to_app/books/flutter_module_books/test/widget_test.dart",
"repo_id": "samples",
"token_count": 514
} | 1,316 |
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#import "api.h"
| samples/add_to_app/books/ios_books/IosBooks/IosBooks-Bridging-Header.h/0 | {
"file_path": "samples/add_to_app/books/ios_books/IosBooks/IosBooks-Bridging-Header.h",
"repo_id": "samples",
"token_count": 35
} | 1,317 |
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillType="evenOdd"
android:pathData="M32,64C32,64 3... | samples/add_to_app/fullscreen/android_fullscreen/app/src/main/res/drawable-v24/ic_launcher_foreground.xml/0 | {
"file_path": "samples/add_to_app/fullscreen/android_fullscreen/app/src/main/res/drawable-v24/ic_launcher_foreground.xml",
"repo_id": "samples",
"token_count": 1063
} | 1,318 |
<resources>
<string name="app_name">AndroidFullScreen</string>
</resources>
| samples/add_to_app/fullscreen/android_fullscreen/app/src/main/res/values/strings.xml/0 | {
"file_path": "samples/add_to_app/fullscreen/android_fullscreen/app/src/main/res/values/strings.xml",
"repo_id": "samples",
"token_count": 26
} | 1,319 |
// 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_module/main.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:provider/p... | samples/add_to_app/fullscreen/flutter_module/test/widget_test.dart/0 | {
"file_path": "samples/add_to_app/fullscreen/flutter_module/test/widget_test.dart",
"repo_id": "samples",
"token_count": 450
} | 1,320 |
package dev.flutter.multipleflutters
import android.content.Intent
import android.os.Bundle
import android.widget.FrameLayout
import android.widget.LinearLayout
import androidx.fragment.app.FragmentActivity
import androidx.fragment.app.FragmentManager
import io.flutter.embedding.android.FlutterFragment
import io.flutt... | samples/add_to_app/multiple_flutters/multiple_flutters_android/app/src/main/java/dev/flutter/multipleflutters/DoubleFlutterActivity.kt/0 | {
"file_path": "samples/add_to_app/multiple_flutters/multiple_flutters_android/app/src/main/java/dev/flutter/multipleflutters/DoubleFlutterActivity.kt",
"repo_id": "samples",
"token_count": 1271
} | 1,321 |
# Copyright 2021 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.
flutter_application_path = '../multiple_flutters_module'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
target 'MultipleFluttersIos... | samples/add_to_app/multiple_flutters/multiple_flutters_ios/Podfile/0 | {
"file_path": "samples/add_to_app/multiple_flutters/multiple_flutters_ios/Podfile",
"repo_id": "samples",
"token_count": 160
} | 1,322 |
<resources>
<string name="app_name">AndroidUsingPrebuiltModule</string>
</resources>
| samples/add_to_app/prebuilt_module/android_using_prebuilt_module/app/src/main/res/values/strings.xml/0 | {
"file_path": "samples/add_to_app/prebuilt_module/android_using_prebuilt_module/app/src/main/res/values/strings.xml",
"repo_id": "samples",
"token_count": 28
} | 1,323 |
name: splash_screen_sample
description: A sample Flutter app with animated splash screen on Android 12.
publish_to: "none"
version: 1.0.0+1
environment:
sdk: ^3.2.0
dependencies:
flutter:
sdk: flutter
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
fl... | samples/android_splash_screen/pubspec.yaml/0 | {
"file_path": "samples/android_splash_screen/pubspec.yaml",
"repo_id": "samples",
"token_count": 150
} | 1,324 |
// 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 TweenDemo extends StatefulWidget {
const TweenDemo({super.key});
static const String routeName = 'basics/tw... | samples/animations/lib/src/basics/tweens.dart/0 | {
"file_path": "samples/animations/lib/src/basics/tweens.dart",
"repo_id": "samples",
"token_count": 997
} | 1,325 |
## 1.0.0
- Initial version.
| samples/code_sharing/server/CHANGELOG.md/0 | {
"file_path": "samples/code_sharing/server/CHANGELOG.md",
"repo_id": "samples",
"token_count": 13
} | 1,326 |
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:url_launcher/url_launcher.dart';
import 'constants.dart';
import 'context_menu_region.dart';
import 'platform_selector.dart';
// This example is based on the MenuBar docs example:
// https://master-api.flutter.dev/flutter/... | samples/context_menus/lib/cascading_menu_page.dart/0 | {
"file_path": "samples/context_menus/lib/cascading_menu_page.dart",
"repo_id": "samples",
"token_count": 3779
} | 1,327 |
import 'package:context_menus/email_button_page.dart';
import 'package:context_menus/main.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flut... | samples/context_menus/test/email_button_page_test.dart/0 | {
"file_path": "samples/context_menus/test/email_button_page_test.dart",
"repo_id": "samples",
"token_count": 1633
} | 1,328 |
# deeplink_store_example
A store app that includes three screen, ProductList, ProductDetails, and ProductCategoryList.
This app uses go_router to create routing table for all three screens. It also updates the project
parameters for Android and iOS to support deeplinks.
To learn more, visit <link TBD>.
## Getting St... | samples/deeplink_store_example/README.md/0 | {
"file_path": "samples/deeplink_store_example/README.md",
"repo_id": "samples",
"token_count": 116
} | 1,329 |
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | samples/deeplink_store_example/lib/product_details.dart/0 | {
"file_path": "samples/deeplink_store_example/lib/product_details.dart",
"repo_id": "samples",
"token_count": 736
} | 1,330 |
// 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:convert';
import 'package:built_collection/built_collection.dart';
import 'package:built_value/built_value.dart';
import 'package:built_value/se... | samples/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.dart/0 | {
"file_path": "samples/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.dart",
"repo_id": "samples",
"token_count": 314
} | 1,331 |
// 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:convert';
import 'package:built_value/built_value.dart';
import 'package:built_value/serializer.dart';
import '../serializers.dart';
part 'tag... | samples/desktop_photo_search/fluent_ui/lib/src/unsplash/tags.dart/0 | {
"file_path": "samples/desktop_photo_search/fluent_ui/lib/src/unsplash/tags.dart",
"repo_id": "samples",
"token_count": 268
} | 1,332 |
// Copyright 2022 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:file_selector/file_selector.dart';
import 'package:flutter/material.dart';
import 'package:flutter_simple_treeview/flutter_simple_treeview.dar... | samples/desktop_photo_search/material/lib/src/widgets/unsplash_search_content.dart/0 | {
"file_path": "samples/desktop_photo_search/material/lib/src/widgets/unsplash_search_content.dart",
"repo_id": "samples",
"token_count": 1701
} | 1,333 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| samples/desktop_photo_search/material/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "samples/desktop_photo_search/material/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "samples",
"token_count": 32
} | 1,334 |
# Photo Search app
This application has been moved to the [top level of this repo](../../desktop_photo_search). | samples/experimental/desktop_photo_search/README.md/0 | {
"file_path": "samples/experimental/desktop_photo_search/README.md",
"repo_id": "samples",
"token_count": 28
} | 1,335 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| samples/experimental/federated_plugin/federated_plugin/example/android/gradle.properties/0 | {
"file_path": "samples/experimental/federated_plugin/federated_plugin/example/android/gradle.properties",
"repo_id": "samples",
"token_count": 31
} | 1,336 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| samples/experimental/federated_plugin/federated_plugin/example/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "samples/experimental/federated_plugin/federated_plugin/example/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "samples",
"token_count": 32
} | 1,337 |
// Copyright 2020 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 Cocoa
import FlutterMacOS
import IOKit.ps
public class FederatedPluginMacosPlugin: NSObject, FlutterPlugin {
public static func register(with regist... | samples/experimental/federated_plugin/federated_plugin_macos/macos/Classes/FederatedPluginMacosPlugin.swift/0 | {
"file_path": "samples/experimental/federated_plugin/federated_plugin_macos/macos/Classes/FederatedPluginMacosPlugin.swift",
"repo_id": "samples",
"token_count": 434
} | 1,338 |
// Copyright 2020 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:html';
import 'package:federated_plugin_web/federated_plugin_web.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integra... | samples/experimental/federated_plugin/federated_plugin_web/test_driver/federated_plugin_web_integration.dart/0 | {
"file_path": "samples/experimental/federated_plugin/federated_plugin_web/test_driver/federated_plugin_web_integration.dart",
"repo_id": "samples",
"token_count": 417
} | 1,339 |
include: package:analysis_defaults/flutter.yaml
analyzer:
exclude:
- lib/model/rule.g.dart
- test/widget_test.mocks.dart
| samples/experimental/linting_tool/analysis_options.yaml/0 | {
"file_path": "samples/experimental/linting_tool/analysis_options.yaml",
"repo_id": "samples",
"token_count": 55
} | 1,340 |
// Copyright 2021 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:convert';
import 'package:http/http.dart' as http;
import 'package:linting_tool/model/rule.dart';
import 'package:yaml/yaml.dart';
class APIProv... | samples/experimental/linting_tool/lib/repository/api_provider.dart/0 | {
"file_path": "samples/experimental/linting_tool/lib/repository/api_provider.dart",
"repo_id": "samples",
"token_count": 470
} | 1,341 |
// Mocks generated by Mockito 5.4.2 from annotations
// in linting_tool/test/widget_test.dart.
// Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i3;
import 'dart:convert' as _i4;
import 'dart:typed_data' as _i5;
import 'package:http/http.dart' a... | samples/experimental/linting_tool/test/widget_test.mocks.dart/0 | {
"file_path": "samples/experimental/linting_tool/test/widget_test.mocks.dart",
"repo_id": "samples",
"token_count": 3444
} | 1,342 |
#include <flutter/dart_project.h>
#include <flutter/flutter_view_controller.h>
#include <windows.h>
#include "flutter_window.h"
#include "run_loop.h"
#include "utils.h"
int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
_In_ wchar_t *command_line, _In_ int show_command) {
... | samples/experimental/linting_tool/windows/runner/main.cpp/0 | {
"file_path": "samples/experimental/linting_tool/windows/runner/main.cpp",
"repo_id": "samples",
"token_count": 451
} | 1,343 |
/*
* Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
#ifndef RUNTIME_INCLUDE_DART_API_DL_H_
#define RUNTIME_INCLUDE_DART_API_DL_H_
#include "dart_ap... | samples/experimental/pedometer/src/dart-sdk/include/dart_api_dl.h/0 | {
"file_path": "samples/experimental/pedometer/src/dart-sdk/include/dart_api_dl.h",
"repo_id": "samples",
"token_count": 3855
} | 1,344 |
// Copyright 2023 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 '../components/components.dart';
import '../page_content/pages_flow.dart';
import '../sty... | samples/experimental/varfont_shader_puzzle/lib/page_content/page_weight.dart/0 | {
"file_path": "samples/experimental/varfont_shader_puzzle/lib/page_content/page_weight.dart",
"repo_id": "samples",
"token_count": 2665
} | 1,345 |
// Copyright 2023 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.
#define PI 3.1415926538
uniform float uTime;
uniform vec2 uSize;
uniform float uDampener;
out vec4 fragColor;
uniform sampler2D uTexture;
void main()
{
... | samples/experimental/varfont_shader_puzzle/shaders/row_offset.frag/0 | {
"file_path": "samples/experimental/varfont_shader_puzzle/shaders/row_offset.frag",
"repo_id": "samples",
"token_count": 389
} | 1,346 |
// Copyright 2020, the Flutter project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:cloud_firestore/cloud_firestore.dart';
import 'api.dart';
class FirebaseDashboardApi im... | samples/experimental/web_dashboard/lib/src/api/firebase.dart/0 | {
"file_path": "samples/experimental/web_dashboard/lib/src/api/firebase.dart",
"repo_id": "samples",
"token_count": 1518
} | 1,347 |
// Copyright 2020, the Flutter project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:intl/intl.dart' as intl;
import 'package:provider... | samples/experimental/web_dashboard/lib/src/widgets/edit_entry.dart/0 | {
"file_path": "samples/experimental/web_dashboard/lib/src/widgets/edit_entry.dart",
"repo_id": "samples",
"token_count": 2427
} | 1,348 |
# form_app
A sample demonstrating different types of forms and best practices.
## Sign In with HTTP
[*lib/src/sign_in_http.dart*](lib/src/sign_in_http.dart)
A sign in form using `package:http` to send a request.
## Form widgets
[*lib/src/form_widgets.dart*](lib/src/form_widgets.dart)
A stylized form that uses widg... | samples/form_app/README.md/0 | {
"file_path": "samples/form_app/README.md",
"repo_id": "samples",
"token_count": 365
} | 1,349 |
// Copyright 2020, the Flutter project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:intl/intl.dart' as intl;
class FormWidgetsDemo e... | samples/form_app/lib/src/form_widgets.dart/0 | {
"file_path": "samples/form_app/lib/src/form_widgets.dart",
"repo_id": "samples",
"token_count": 4869
} | 1,350 |
// Copyright 2022, the Flutter project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'dart:async';
import 'package:games_services/games_services.dart' as gs;
import 'package:logging/... | samples/game_template/lib/src/games_services/games_services.dart/0 | {
"file_path": "samples/game_template/lib/src/games_services/games_services.dart",
"repo_id": "samples",
"token_count": 1314
} | 1,351 |
// Copyright 2022, the Flutter project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'persistence/settings_persistence.dart';
/// An class ... | samples/game_template/lib/src/settings/settings.dart/0 | {
"file_path": "samples/game_template/lib/src/settings/settings.dart",
"repo_id": "samples",
"token_count": 671
} | 1,352 |
{
"offices": [
{
"address": "Aabogade 15\n8200 Aarhus\nDenmark",
"id": "aarhus",
"image": "https://lh3.googleusercontent.com/tpBMFN5os8K-qXIHiAX5SZEmN5fCzIGrj9FdJtbZPUkC91ookSoY520NYn7fK5yqmh1L1m3F2SJA58v6Qps3JusdrxoFSwk6Ajv2K88",
"lat": 56.172249,
... | samples/google_maps/assets/locations.json/0 | {
"file_path": "samples/google_maps/assets/locations.json",
"repo_id": "samples",
"token_count": 25316
} | 1,353 |
import UIKit
import Flutter
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
GeneratedPluginRegistrant.register(with: self)
return super.applic... | samples/ios_app_clip/ios/Runner/AppDelegate.swift/0 | {
"file_path": "samples/ios_app_clip/ios/Runner/AppDelegate.swift",
"repo_id": "samples",
"token_count": 121
} | 1,354 |
include: package:analysis_defaults/flutter.yaml
| samples/isolate_example/analysis_options.yaml/0 | {
"file_path": "samples/isolate_example/analysis_options.yaml",
"repo_id": "samples",
"token_count": 15
} | 1,355 |
// Copyright 2019-present the Flutter authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required ... | samples/isolate_example/lib/performance_page.dart/0 | {
"file_path": "samples/isolate_example/lib/performance_page.dart",
"repo_id": "samples",
"token_count": 2482
} | 1,356 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| samples/isolate_example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "samples/isolate_example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "samples",
"token_count": 32
} | 1,357 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| samples/material_3_demo/android/gradle.properties/0 | {
"file_path": "samples/material_3_demo/android/gradle.properties",
"repo_id": "samples",
"token_count": 31
} | 1,358 |
// Copyright 2021 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 'color_palettes_screen.dart';
import 'component_screen.dart';
import 'constants.dart';
import 'elevation_scree... | samples/material_3_demo/lib/home.dart/0 | {
"file_path": "samples/material_3_demo/lib/home.dart",
"repo_id": "samples",
"token_count": 11350
} | 1,359 |
// Copyright 2021, the Flutter project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:url_la... | samples/navigation_and_routing/lib/src/screens/book_details.dart/0 | {
"file_path": "samples/navigation_and_routing/lib/src/screens/book_details.dart",
"repo_id": "samples",
"token_count": 1026
} | 1,360 |
// Copyright 2021, the Flutter project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('empty test', (tester) asyn... | samples/navigation_and_routing/test/widget_test.dart/0 | {
"file_path": "samples/navigation_and_routing/test/widget_test.dart",
"repo_id": "samples",
"token_count": 96
} | 1,361 |
// Copyright 2020 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:google_maps_flutter/google_maps_flutter.dart';
import 'package:provider/provider.dart';
import 'place... | samples/place_tracker/lib/place_details.dart/0 | {
"file_path": "samples/place_tracker/lib/place_details.dart",
"repo_id": "samples",
"token_count": 4255
} | 1,362 |
# Platform Channel Samples
A sample app which demonstrates how to use `MethodChannel`, `EventChannel`, `BasicMessageChannel` and `MessageCodec` in Flutter.
## Goals
* Demonstrate how to use `MethodChannel` to invoke platform methods.
* Demonstrate how to use `EventChannel` to listen continuous value changes from the... | samples/platform_channels/README.md/0 | {
"file_path": "samples/platform_channels/README.md",
"repo_id": "samples",
"token_count": 467
} | 1,363 |
// Copyright 2020 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:platform_chan... | samples/platform_channels/test/src/add_pet_details_test.dart/0 | {
"file_path": "samples/platform_channels/test/src/add_pet_details_test.dart",
"repo_id": "samples",
"token_count": 575
} | 1,364 |
#include "Generated.xcconfig"
| samples/platform_design/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "samples/platform_design/ios/Flutter/Debug.xcconfig",
"repo_id": "samples",
"token_count": 12
} | 1,365 |
name: platform_view_swift
description: A new Flutter project.
version: 1.0.0+1
environment:
sdk: ^3.2.0
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.4
dev_dependencies:
analysis_defaults:
path: ../analysis_defaults
flutter_test:
sdk: flutter
flutter:
uses-material-design: true... | samples/platform_view_swift/pubspec.yaml/0 | {
"file_path": "samples/platform_view_swift/pubspec.yaml",
"repo_id": "samples",
"token_count": 133
} | 1,366 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| samples/provider_counter/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "samples/provider_counter/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "samples",
"token_count": 32
} | 1,367 |
// Copyright 2022 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:io' show Platform;
import 'package:auto_size_text/auto_size_text.dart';
import 'package:flutter/foundation.dart' show kIsWeb;
import 'package:fl... | samples/simplistic_calculator/lib/main.dart/0 | {
"file_path": "samples/simplistic_calculator/lib/main.dart",
"repo_id": "samples",
"token_count": 6387
} | 1,368 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| samples/simplistic_calculator/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "samples/simplistic_calculator/macos/Runner/Configs/Release.xcconfig",
"repo_id": "samples",
"token_count": 32
} | 1,369 |
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'app_state_manager.dart';
import 'formatting_toolbar.dart' show ToggleButtonsState;
import 'replacements.dart';
class AppState {
const AppState({
required this.replacementsController,
required this.textEditingDeltaHistory... | samples/simplistic_editor/lib/app_state.dart/0 | {
"file_path": "samples/simplistic_editor/lib/app_state.dart",
"repo_id": "samples",
"token_count": 2551
} | 1,370 |
package dev.flutter.testing_app
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| samples/testing_app/android/app/src/main/kotlin/dev/flutter/testing_app/MainActivity.kt/0 | {
"file_path": "samples/testing_app/android/app/src/main/kotlin/dev/flutter/testing_app/MainActivity.kt",
"repo_id": "samples",
"token_count": 39
} | 1,371 |
// Copyright 2018 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:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:veggieseasons/data/veggie.dart';
ab... | samples/veggieseasons/lib/styles.dart/0 | {
"file_path": "samples/veggieseasons/lib/styles.dart",
"repo_id": "samples",
"token_count": 2814
} | 1,372 |
// Copyright 2021 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 'web_startup_analyzer_base.dart';
// This class is a stub so that unit tests can run without importing
// dart:js_interop and related packages.
class ... | samples/web/_packages/web_startup_analyzer/lib/src/web_startup_analyzer_io.dart/0 | {
"file_path": "samples/web/_packages/web_startup_analyzer/lib/src/web_startup_analyzer_io.dart",
"repo_id": "samples",
"token_count": 279
} | 1,373 |
// Copyright 2020 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:convert';
String indent(String content, int spaces) =>
LineSplitter.split(content).join('\n${' ' * spaces}');
String kebabCase(String input)... | samples/web/samples_index/lib/src/util.dart/0 | {
"file_path": "samples/web/samples_index/lib/src/util.dart",
"repo_id": "samples",
"token_count": 325
} | 1,374 |
import 'package:flutter/material.dart';
class DashDemo extends StatefulWidget {
final ValueNotifier<String> text;
const DashDemo({super.key, required this.text});
@override
State<DashDemo> createState() => _DashDemoState();
}
class _DashDemoState extends State<DashDemo> {
final double textFieldHeight = 80... | samples/web_embedding/ng-flutter/flutter/lib/pages/dash.dart/0 | {
"file_path": "samples/web_embedding/ng-flutter/flutter/lib/pages/dash.dart",
"repo_id": "samples",
"token_count": 2519
} | 1,375 |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { NgFlutterComponent } from './ng-flutter.component';
describe('NgFlutterComponent', () => {
let component: NgFlutterComponent;
let fixture: ComponentFixture<NgFlutterComponent>;
beforeEach(async () => {
await TestBed.configureTestin... | samples/web_embedding/ng-flutter/src/app/ng-flutter/ng-flutter.component.spec.ts/0 | {
"file_path": "samples/web_embedding/ng-flutter/src/app/ng-flutter/ng-flutter.component.spec.ts",
"repo_id": "samples",
"token_count": 200
} | 1,376 |
steps:
- name: gcr.io/cloud-builders/git
args: ['submodule', 'update', '--init', '--recursive']
- name: gcr.io/cloud-builders/docker
entrypoint: '/bin/bash'
args:
- '-c'
- |-
set -e
echo "Building the website using a makefile..."
make build
- name: gcr.io/flutter-de... | website/cloud_build/deploy.yaml/0 | {
"file_path": "website/cloud_build/deploy.yaml",
"repo_id": "website",
"token_count": 237
} | 1,377 |
// Copyright 2019 the Dart project 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:math';
import 'package:flutter/material.dart';
double randomBorderRadius() {
return Random().nextDouble() * 64;
}
double randomMargi... | website/examples/animation/implicit/container1/lib/main.dart/0 | {
"file_path": "website/examples/animation/implicit/container1/lib/main.dart",
"repo_id": "website",
"token_count": 782
} | 1,378 |
import 'package:flutter/material.dart';
void main() {
runApp(const MaterialApp(home: PhysicsCardDragDemo()));
}
class PhysicsCardDragDemo extends StatelessWidget {
const PhysicsCardDragDemo({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: c... | website/examples/cookbook/animation/physics_simulation/lib/step2.dart/0 | {
"file_path": "website/examples/cookbook/animation/physics_simulation/lib/step2.dart",
"repo_id": "website",
"token_count": 733
} | 1,379 |
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
title: 'Package Fonts',
home: MyHomePage(),
);
}
}
class MyHomePage exten... | website/examples/cookbook/design/package_fonts/lib/main.dart/0 | {
"file_path": "website/examples/cookbook/design/package_fonts/lib/main.dart",
"repo_id": "website",
"token_count": 358
} | 1,380 |
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
enum DownloadStatus {
notDownloaded,
fetchingDownload,
downloading,
downloaded,
}
// #docregion Display
@immutable
class DownloadButton extends StatelessWidget {
const DownloadButton({
super.key,
required this.status,
... | website/examples/cookbook/effects/download_button/lib/display.dart/0 | {
"file_path": "website/examples/cookbook/effects/download_button/lib/display.dart",
"repo_id": "website",
"token_count": 624
} | 1,381 |
import 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart' show ViewportOffset;
void main() {
runApp(
const MaterialApp(
home: ExampleInstagramFilterSelection(),
debugShowCheckedModeBanner: false,
),
);
}
@immutable
class ExampleInstagramFilter... | website/examples/cookbook/effects/photo_filter_carousel/lib/main.dart/0 | {
"file_path": "website/examples/cookbook/effects/photo_filter_carousel/lib/main.dart",
"repo_id": "website",
"token_count": 3728
} | 1,382 |
import 'package:flutter/material.dart';
class Menu extends StatefulWidget {
const Menu({super.key});
@override
State<Menu> createState() => _MenuState();
}
class _MenuState extends State<Menu> with SingleTickerProviderStateMixin {
final List<Interval> _itemSlideIntervals = [];
late Interval _buttonInterval... | website/examples/cookbook/effects/staggered_menu_animation/lib/step4.dart/0 | {
"file_path": "website/examples/cookbook/effects/staggered_menu_animation/lib/step4.dart",
"repo_id": "website",
"token_count": 2170
} | 1,383 |
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
title: 'Retrieve Text Input',
home: MyCustomForm(),
);
}
}
// Define a cu... | website/examples/cookbook/forms/retrieve_input/lib/main.dart/0 | {
"file_path": "website/examples/cookbook/forms/retrieve_input/lib/main.dart",
"repo_id": "website",
"token_count": 731
} | 1,384 |
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
// MyApp is a StatefulWidget. This allows updating the state of the
// widget when an item is removed.
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
MyAppState createState() {
return MyAppState();
... | website/examples/cookbook/gestures/dismissible/lib/step1.dart/0 | {
"file_path": "website/examples/cookbook/gestures/dismissible/lib/step1.dart",
"repo_id": "website",
"token_count": 458
} | 1,385 |
name: fading_in_images
description: Example for fading_in_images cookbook recipe
publish_to: none
version: 1.0.0+1
environment:
sdk: ^3.3.0
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.6
transparent_image: ^2.0.1
dev_dependencies:
example_utils:
path: ../../../example_utils
flutter... | website/examples/cookbook/images/fading_in_images/pubspec.yaml/0 | {
"file_path": "website/examples/cookbook/images/fading_in_images/pubspec.yaml",
"repo_id": "website",
"token_count": 156
} | 1,386 |
name: navigation_basics
description: A new Flutter project.
publish_to: none # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ^3.3.0
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.6
dev_dependencies:
example_utils:
path: ../../../example_utils
flu... | website/examples/cookbook/navigation/navigation_basics/pubspec.yaml/0 | {
"file_path": "website/examples/cookbook/navigation/navigation_basics/pubspec.yaml",
"repo_id": "website",
"token_count": 152
} | 1,387 |
import 'dart:async';
import 'dart:convert';
import 'package:http/http.dart' as http;
// #docregion parsePhotos
// A function that converts a response body into a List<Photo>.
List<Photo> parsePhotos(String responseBody) {
final parsed =
(jsonDecode(responseBody) as List).cast<Map<String, dynamic>>();
retur... | website/examples/cookbook/networking/background_parsing/lib/main_step3.dart/0 | {
"file_path": "website/examples/cookbook/networking/background_parsing/lib/main_step3.dart",
"repo_id": "website",
"token_count": 436
} | 1,388 |
import 'dart:async';
import 'dart:convert';
import 'package:http/http.dart' as http;
// #docregion updateAlbum
Future<http.Response> updateAlbum(String title) {
return http.put(
Uri.parse('https://jsonplaceholder.typicode.com/albums/1'),
headers: <String, String>{
'Content-Type': 'application/json; ch... | website/examples/cookbook/networking/update_data/lib/main_step2.dart/0 | {
"file_path": "website/examples/cookbook/networking/update_data/lib/main_step2.dart",
"repo_id": "website",
"token_count": 177
} | 1,389 |
// #docregion imports
import 'dart:async';
import 'package:flutter/widgets.dart';
import 'package:path/path.dart';
import 'package:sqflite/sqflite.dart';
// #enddocregion imports
void main() async {
// Avoid errors caused by flutter upgrade.
// Importing 'package:flutter/widgets.dart' is required.
WidgetsFlutte... | website/examples/cookbook/persistence/sqlite/lib/main.dart/0 | {
"file_path": "website/examples/cookbook/persistence/sqlite/lib/main.dart",
"repo_id": "website",
"token_count": 1608
} | 1,390 |
import 'package:flutter/material.dart';
import 'package:video_player/video_player.dart';
// ignore_for_file: unused_field
// #docregion VideoPlayerScreen
class VideoPlayerScreen extends StatefulWidget {
const VideoPlayerScreen({super.key});
@override
State<VideoPlayerScreen> createState() => _VideoPlayerScreen... | website/examples/cookbook/plugins/play_video/lib/main_step3.dart/0 | {
"file_path": "website/examples/cookbook/plugins/play_video/lib/main_step3.dart",
"repo_id": "website",
"token_count": 394
} | 1,391 |
// Import the test package and Counter class
import 'package:counter_app/counter.dart';
import 'package:test/test.dart';
void main() {
test('Counter value should be incremented', () {
final counter = Counter();
counter.increment();
expect(counter.value, 1);
});
}
| website/examples/cookbook/testing/unit/counter_app/test/counter_test.dart/0 | {
"file_path": "website/examples/cookbook/testing/unit/counter_app/test/counter_test.dart",
"repo_id": "website",
"token_count": 89
} | 1,392 |
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
// Define a test. The TestWidgets function also provides a WidgetTester
// to work with. The WidgetTester allows building and interacting
// with widgets in the test environment.
testWidgets('MyWidget has a t... | website/examples/cookbook/testing/widget/introduction/test/main_test.dart/0 | {
"file_path": "website/examples/cookbook/testing/widget/introduction/test/main_test.dart",
"repo_id": "website",
"token_count": 474
} | 1,393 |
name: isolates
description: Sample isolate code.
publish_to: none
version: 1.0.0+1
environment:
sdk: ^3.3.0
dependencies:
flutter:
sdk: flutter
shared_preferences: any
dev_dependencies:
example_utils:
path: ../../../example_utils
| website/examples/development/concurrency/isolates/pubspec.yaml/0 | {
"file_path": "website/examples/development/concurrency/isolates/pubspec.yaml",
"repo_id": "website",
"token_count": 99
} | 1,394 |
// Autogenerated from Pigeon (v16.0.5), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: public_member_api_docs, constant_identifier_names, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unuse... | website/examples/development/platform_integration/lib/generated_pigeon.dart/0 | {
"file_path": "website/examples/development/platform_integration/lib/generated_pigeon.dart",
"repo_id": "website",
"token_count": 1360
} | 1,395 |
// ignore_for_file: avoid_print
// #docregion Const
const foo = 1;
const bar = foo; // Convert foo to a const...
void onClick() {
print(foo);
print(bar);
}
// #enddocregion Const
| website/examples/development/tools/lib/hot-reload/foo_const.dart/0 | {
"file_path": "website/examples/development/tools/lib/hot-reload/foo_const.dart",
"repo_id": "website",
"token_count": 64
} | 1,396 |
// Avoid warning on "double _formProgress = 0;"
// ignore_for_file: prefer_final_fields
| website/examples/get-started/codelab_web/lib/test.dart/0 | {
"file_path": "website/examples/get-started/codelab_web/lib/test.dart",
"repo_id": "website",
"token_count": 26
} | 1,397 |
import 'dart:developer' as developer;
import 'package:flutter/material.dart';
void main() {
runApp(const SampleApp());
}
class SampleApp extends StatelessWidget {
const SampleApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return Material... | website/examples/get-started/flutter-for/android_devs/lib/list_item_tapped.dart/0 | {
"file_path": "website/examples/get-started/flutter-for/android_devs/lib/list_item_tapped.dart",
"repo_id": "website",
"token_count": 542
} | 1,398 |
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(... | website/examples/get-started/flutter-for/declarative/lib/main.dart/0 | {
"file_path": "website/examples/get-started/flutter-for/declarative/lib/main.dart",
"repo_id": "website",
"token_count": 405
} | 1,399 |
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() {
runApp(
const App(),
);
}
class App extends StatelessWidget {
const App({
super.key,
});
@override
Widget build(BuildContext context) {
return const CupertinoApp(
home: HomePage(),
);
}
... | website/examples/get-started/flutter-for/ios_devs/lib/scroll.dart/0 | {
"file_path": "website/examples/get-started/flutter-for/ios_devs/lib/scroll.dart",
"repo_id": "website",
"token_count": 856
} | 1,400 |
// ignore_for_file: avoid_print
import 'package:flutter/material.dart';
// #docregion Components
/// Flutter
class CustomCard extends StatelessWidget {
const CustomCard({
super.key,
required this.index,
required this.onPress,
});
final int index;
final void Function() onPress;
@override
Widge... | website/examples/get-started/flutter-for/react_native_devs/lib/components.dart/0 | {
"file_path": "website/examples/get-started/flutter-for/react_native_devs/lib/components.dart",
"repo_id": "website",
"token_count": 365
} | 1,401 |
import 'package:flutter/material.dart';
// #docregion TextStyle
TextStyle bold24Roboto = const TextStyle(
color: Colors.white,
fontSize: 24,
fontWeight: FontWeight.bold,
);
// #enddocregion TextStyle
class MyWidget extends StatelessWidget {
MyWidget({super.key});
// #docregion Container
final container =... | website/examples/get-started/flutter-for/web_devs/lib/main.dart/0 | {
"file_path": "website/examples/get-started/flutter-for/web_devs/lib/main.dart",
"repo_id": "website",
"token_count": 5629
} | 1,402 |
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
// The application under test.
import 'package:integration_test_example/main.dart' as app;
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
grou... | website/examples/integration_test/integration_test/counter_test.dart/0 | {
"file_path": "website/examples/integration_test/integration_test/counter_test.dart",
"repo_id": "website",
"token_count": 284
} | 1,403 |
// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
// This is a library that looks up messages for specific locales by
// delegating to the appropriate library.
// Ignore issues from commonly used lints in this file.
// ignore_for_file:implementation_imports, file_names
// ignore_for_file:... | website/examples/internationalization/intl_example/lib/l10n/messages_all_locales.dart/0 | {
"file_path": "website/examples/internationalization/intl_example/lib/l10n/messages_all_locales.dart",
"repo_id": "website",
"token_count": 784
} | 1,404 |
// This app doesn't use any Material widgets, such as Scaffold.
// Normally, an app that doesn't use Scaffold has a black background
// and the default text color is black. This app changes its background
// to white and its text color to dark grey to mimic a material app.
import 'package:flutter/material.dart';
void... | website/examples/layout/non_material/lib/main.dart/0 | {
"file_path": "website/examples/layout/non_material/lib/main.dart",
"repo_id": "website",
"token_count": 308
} | 1,405 |
name: architectural_overview
description: Samples for the Flutter architectural overview.
publish_to: none
environment:
sdk: ^3.3.0
dependencies:
flutter:
sdk: flutter
ffi: ^2.1.0
dev_dependencies:
example_utils:
path: ../../example_utils
flutter:
uses-material-design: true
| website/examples/resources/architectural_overview/pubspec.yaml/0 | {
"file_path": "website/examples/resources/architectural_overview/pubspec.yaml",
"repo_id": "website",
"token_count": 110
} | 1,406 |
import 'dart:async';
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import './backend.dart';
void main() {
MyBackend myBackend = MyBackend();
// #docregion Initialize
runZonedGuarded(() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initial... | website/examples/testing/errors/lib/run_zoned_guarded.dart/0 | {
"file_path": "website/examples/testing/errors/lib/run_zoned_guarded.dart",
"repo_id": "website",
"token_count": 219
} | 1,407 |
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class AbsorbKeysExample extends StatelessWidget {
const AbsorbKeysExample({super.key, required this.child});
final Widget child;
// #docregion AbsorbKeysExample
@override
Widget build(BuildContext context) {
return Focus(
... | website/examples/ui/advanced/focus/lib/samples.dart/0 | {
"file_path": "website/examples/ui/advanced/focus/lib/samples.dart",
"repo_id": "website",
"token_count": 1069
} | 1,408 |
import 'dart:math';
import 'package:flutter/material.dart';
import '../global/device_type.dart';
import '../global/targeted_actions.dart';
import '../widgets/buttons.dart';
class AdaptiveGridPage extends StatefulWidget {
const AdaptiveGridPage({super.key});
@override
State<AdaptiveGridPage> createState() => _... | website/examples/ui/layout/adaptive_app_demos/lib/pages/adaptive_grid_page.dart/0 | {
"file_path": "website/examples/ui/layout/adaptive_app_demos/lib/pages/adaptive_grid_page.dart",
"repo_id": "website",
"token_count": 2003
} | 1,409 |
import 'package:flutter/material.dart';
class Product {
const Product({required this.name});
final String name;
}
typedef CartChangedCallback = Function(Product product, bool inCart);
class ShoppingListItem extends StatelessWidget {
ShoppingListItem({
required this.product,
required this.inCart,
r... | website/examples/ui/widgets_intro/lib/main_shoppingitem.dart/0 | {
"file_path": "website/examples/ui/widgets_intro/lib/main_shoppingitem.dart",
"repo_id": "website",
"token_count": 623
} | 1,410 |
- title: 'Beginning App Development with Flutter'
authors:
- Rap Payne
publisher: Apress Publishing
cover: beginning-app-development-with-flutter.jpg
link: "https://www.amazon.com/Beginning-App-Development-Flutter-Cross-Platform/dp/1484251806"
desc: "Easy to understand starter book. Currently the best-sel... | website/src/_data/books.yml/0 | {
"file_path": "website/src/_data/books.yml",
"repo_id": "website",
"token_count": 1943
} | 1,411 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.