text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../app_model.dart';
// Uses full-screen breakpoints to reflow the widget tree
class LoginPage extends StatelessWidget {
const LoginPage({super.key});
@override
Widget build(BuildContext context) {
Size screenSize = Med... | website/examples/ui/layout/adaptive_app_demos/lib/pages/login_page.dart/0 | {
"file_path": "website/examples/ui/layout/adaptive_app_demos/lib/pages/login_page.dart",
"repo_id": "website",
"token_count": 1233
} | 1,350 |
# When adding the release notes for a new DevTools release,
# make sure to add the version number as an entry in this list.
# This step might be eliminated in the future.
releases:
- '2.33.0'
- '2.32.0'
- '2.31.0'
- '2.30.0'
- '2.29.0'
- '2.28.5'
- '2.28.4'
- '2.28.3'
- '2.27.0'
- '2.26.1'
- '2.25... | website/src/_data/devtools_releases.yml/0 | {
"file_path": "website/src/_data/devtools_releases.yml",
"repo_id": "website",
"token_count": 355
} | 1,351 |
{{site.alert.secondary}}
如果你正在中国的网络环境下配置 Flutter,
请参考 [在中国网络环境下使用 Flutter][] 文档.
{{site.alert.end}}
[在中国网络环境下使用 Flutter]: https://flutter.cn/community/china | website/src/_includes/docs/china-notice-cn.md/0 | {
"file_path": "website/src/_includes/docs/china-notice-cn.md",
"repo_id": "website",
"token_count": 140
} | 1,352 |
{% assign os=include.os %}
{% assign terminal=include.terminal %}
{%- if os=='macOS' -%}
{% assign special = 'Command' %}
{% else %}
{% assign special = 'Control' %}
{%- endif %}
### Use VS Code to install Flutter
{:.no_toc}
To install Flutter using these instructions, verify that
you have installed [Visual Studio Co... | website/src/_includes/docs/install/flutter/vscode.md/0 | {
"file_path": "website/src/_includes/docs/install/flutter/vscode.md",
"repo_id": "website",
"token_count": 1200
} | 1,353 |
{% assign target = include.target %}
<details markdown="1">
<summary><strong>To verify your shell configuration, expand this section</strong></summary>
Like most UNIX-like operating system, macOS can support multiple shells,
like `bash`, `zsh`, and `sh`.
As of the October 2019 release of macOS Catalina (macOS 10.15),... | website/src/_includes/docs/install/reqs/macos/zsh-config.md/0 | {
"file_path": "website/src/_includes/docs/install/reqs/macos/zsh-config.md",
"repo_id": "website",
"token_count": 405
} | 1,354 |
## Other Resources
To learn more about C interoperability, check out these videos:
- [C interoperability with Dart FFI]
- [How to Use Dart FFI to Build a Retro Audio Player]
[C interoperability with Dart FFI]: {{site.yt.watch}}?v=2MMK7YoFgaA
[How to Use Dart FFI to Build a Retro Audio Player]: {{site.yt.watch}}?v=0... | website/src/_includes/docs/resource-links/ffi-video-resources.md/0 | {
"file_path": "website/src/_includes/docs/resource-links/ffi-video-resources.md",
"repo_id": "website",
"token_count": 111
} | 1,355 |
{% assign cache_bust = site.time|date:'?v=%s' %}
{% assign page_url = page.url | regex_replace: '/index$|/index.html$|\.html$|/$' -%}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.title }}</title>
<link rel="icon" href="/ass... | website/src/_layouts/base.html/0 | {
"file_path": "website/src/_layouts/base.html",
"repo_id": "website",
"token_count": 2832
} | 1,356 |
require_relative 'markdown_with_code_excerpts'
require_relative 'code_excerpt_framer'
module Jekyll
module Converters
# Kramdown plugin extension.
#
# Converts markdown code blocks preceded by a processing instruction (PI) of the form
# <?code-excerpt?> into:
#
# - <code-example> elements su... | website/src/_plugins/markdown_converter.rb/0 | {
"file_path": "website/src/_plugins/markdown_converter.rb",
"repo_id": "website",
"token_count": 283
} | 1,357 |
.d2h-wrapper {
margin: 30px 0;
}
.d2h-file-header {
height: unset;
}
| website/src/_sass/components/_d2h.scss/0 | {
"file_path": "website/src/_sass/components/_d2h.scss",
"repo_id": "website",
"token_count": 42
} | 1,358 |
---
title: Add a Flutter View to an Android app
short-title: Integrate via FlutterView
description: Learn how to perform advanced integrations via Flutter Views.
---
{{site.alert.warning}}
Integrating via a [FlutterView]({{site.api}}/javadoc/io/flutter/embedding/android/FlutterView.html)
is advanced usage and requ... | website/src/add-to-app/android/add-flutter-view.md/0 | {
"file_path": "website/src/add-to-app/android/add-flutter-view.md",
"repo_id": "website",
"token_count": 1640
} | 1,359 |
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 237.9 238">
<style type="text/css">
.st0{fill:none;}
.st1{opacity:0.72;fill:#FFFFFF;}
</style>
<rect class="st0" width="237.9" height="237.9"/>
<polygon cla... | website/src/assets/images/branding/flutter/icon/mono.svg/0 | {
"file_path": "website/src/assets/images/branding/flutter/icon/mono.svg",
"repo_id": "website",
"token_count": 283
} | 1,360 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="1.9999179in"
height="1.9999999in"
version="1.1"
viewBox="0 0 50.796725 50.798808"
id="svg11"
sodipodi:docname="windows.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscap... | website/src/assets/images/docs/brand-svg/windows.svg/0 | {
"file_path": "website/src/assets/images/docs/brand-svg/windows.svg",
"repo_id": "website",
"token_count": 1835
} | 1,361 |
---
title: Flutter Brand Guidelines
description: >
The guidelines governing the usage of the Flutter trademarks and assets.
---
The "Flutter" name and logo are trademarks owned by Google.
These Brand Guidelines describe the appropriate uses of the Flutter
trademarks by members of the developer community who have obt... | website/src/brand/index.md/0 | {
"file_path": "website/src/brand/index.md",
"repo_id": "website",
"token_count": 1663
} | 1,362 |
---
title: Export fonts from a package
description: How to export fonts from a package.
---
<?code-excerpt path-base="cookbook/design/package_fonts"?>
Rather than declaring a font as part of an app,
you can declare a font as part of a separate package.
This is a convenient way to share the same font across
several di... | website/src/cookbook/design/package-fonts.md/0 | {
"file_path": "website/src/cookbook/design/package-fonts.md",
"repo_id": "website",
"token_count": 1457
} | 1,363 |
---
title: Forms
description: A catalog of Flutter form recipes.
---
{% include docs/cookbook-group-index.md %}
| website/src/cookbook/forms/index.md/0 | {
"file_path": "website/src/cookbook/forms/index.md",
"repo_id": "website",
"token_count": 36
} | 1,364 |
---
title: Navigate to a new screen and back
description: How to navigate between routes.
js:
- defer: true
url: https://old-dartpad-3ce3f.web.app/inject_embed.dart.js
---
<?code-excerpt path-base="cookbook/navigation/navigation_basics"?>
Most apps contain several screens for displaying different types of
infor... | website/src/cookbook/navigation/navigation-basics.md/0 | {
"file_path": "website/src/cookbook/navigation/navigation-basics.md",
"repo_id": "website",
"token_count": 3107
} | 1,365 |
---
title: Persist data with SQLite
description: How to use SQLite to store and retrieve data.
---
<?code-excerpt path-base="cookbook/persistence/sqlite/"?>
{{site.alert.note}}
This guide uses the [sqflite package][].
This package only supports apps that run on
macOS, iOS, or Android.
{{site.alert.end}}
[sqfli... | website/src/cookbook/persistence/sqlite.md/0 | {
"file_path": "website/src/cookbook/persistence/sqlite.md",
"repo_id": "website",
"token_count": 4896
} | 1,366 |
---
title: Tap, drag, and enter text
description: How to test widgets for user interaction.
---
<?code-excerpt path-base="cookbook/testing/widget/tap_drag/"?>
{% assign api = site.api | append: '/flutter' -%}
Many widgets not only display information, but also respond
to user interaction. This includes buttons that ... | website/src/cookbook/testing/widget/tap-drag.md/0 | {
"file_path": "website/src/cookbook/testing/widget/tap-drag.md",
"repo_id": "website",
"token_count": 3469
} | 1,367 |
---
title: Continuous delivery with Flutter
description: >
How to automate continuous building and releasing of your Flutter app.
---
Follow continuous delivery best practices with Flutter to make sure your
application is delivered to your beta testers and validated on a frequent basis
without resorting to manual wo... | website/src/deployment/cd.md/0 | {
"file_path": "website/src/deployment/cd.md",
"repo_id": "website",
"token_count": 4597
} | 1,368 |
---
title: Flutter concurrency for Swift developers
description: >
Leverage your Swift concurrency knowledge while learning Flutter and Dart.
---
<?code-excerpt path-base="resources/dart_swift_concurrency"?>
Both Dart and Swift support concurrent programming.
This guide should help you understand how
concurrency w... | website/src/get-started/flutter-for/dart-swift-concurrency.md/0 | {
"file_path": "website/src/get-started/flutter-for/dart-swift-concurrency.md",
"repo_id": "website",
"token_count": 3087
} | 1,369 |
## Configuring Android app support
{{site.alert.note}}
Flutter relies on a full installation of Android Studio to supply
its Android platform dependencies. However, you can write your
Flutter apps in a number of editors; a later step discusses that.
{{site.alert.end}}
### Install Android Studio
1. Download an... | website/src/get-started/install/_deprecated/_android-setup-chromeos.md/0 | {
"file_path": "website/src/get-started/install/_deprecated/_android-setup-chromeos.md",
"repo_id": "website",
"token_count": 627
} | 1,370 |
---
title: Install help
description: This page describes some common installation issues new Flutter users have run into and offers suggestions to resolve them.
---
This page describes some common installation issues new Flutter users have
encountered and offers suggestions on how to resolve them.
If you are still ex... | website/src/get-started/install/help.md/0 | {
"file_path": "website/src/get-started/install/help.md",
"repo_id": "website",
"token_count": 1846
} | 1,371 |
---
title: Test drive
description: How to create a templated Flutter app and use hot reload.
prev:
title: Install Flutter
path: /get-started/install
next:
title: Write your first Flutter app
path: /get-started/codelab
toc: false
---
{% case os %}
{% when 'Windows' -%}
{% assign path='C:\dev\' %}
{% assig... | website/src/get-started/test-drive/index.md/0 | {
"file_path": "website/src/get-started/test-drive/index.md",
"repo_id": "website",
"token_count": 881
} | 1,372 |
---
title: Performance
description: Evaluating the performance of your app from several angles.
---
<iframe width="560" height="315" src="{{site.yt.embed}}/PKGguGUwSYE" title="Learn tips to boost Flutter's performance" {{site.yt.set}}></iframe>
[Flutter performance basics]({{site.yt.watch}}?v=PKGguGUwSYE)
{{site.aler... | website/src/perf/index.md/0 | {
"file_path": "website/src/perf/index.md",
"repo_id": "website",
"token_count": 1076
} | 1,373 |
---
title: Add Android devtools for Flutter from Web on macOS start
description: Configure your Mac to develop Flutter mobile apps for Android.
short-title: Starting from Web on macOS
---
To add Android as a Flutter app target for macOS, follow this procedure.
## Install Android Studio
1. Allocate a minimum of 7.5 G... | website/src/platform-integration/android/install-android/install-android-from-web-on-macos.md/0 | {
"file_path": "website/src/platform-integration/android/install-android/install-android-from-web-on-macos.md",
"repo_id": "website",
"token_count": 257
} | 1,374 |
---
title: Adding an iOS App Clip target
description: How to add an iOS App Clip target to your Flutter project.
---
{{site.alert.important}}
Targeting iOS 16 increases the uncompressed IPA payload size limit
to 15MB. Depending on the size of your app, you might hit the limit. ([#71098][]).
{{site.alert.end}}
Thi... | website/src/platform-integration/ios/ios-app-clip.md/0 | {
"file_path": "website/src/platform-integration/ios/ios-app-clip.md",
"repo_id": "website",
"token_count": 3228
} | 1,375 |
---
title: Add macOS devtools to Flutter from web start
description: Configure your system to develop Flutter mobile apps on macOS.
short-title: Starting from web
---
To add macOS as a Flutter app target for macOS, follow this procedure.
## Install Xcode
1. Allocate a minimum of 26 GB of storage for Xcode.
Consid... | website/src/platform-integration/macos/install-macos/install-macos-from-web.md/0 | {
"file_path": "website/src/platform-integration/macos/install-macos/install-macos-from-web.md",
"repo_id": "website",
"token_count": 233
} | 1,376 |
---
title: Web renderers
description: How to choose a web renderer for running and building a web app.
---
When running and building apps for the web, you can choose between two different
renderers. This page describes both renderers and how to choose the best one for
your needs. The two renderers are:
**HTML rendere... | website/src/platform-integration/web/renderers.md/0 | {
"file_path": "website/src/platform-integration/web/renderers.md",
"repo_id": "website",
"token_count": 1224
} | 1,377 |
{% assign id = include.os | downcase -%}
{% assign channels = 'stable beta' | split: ' ' -%}
<div id="{{id}}" class="tab-pane
{%- if id == 'windows' %} active {% endif %}"
role="tabpanel" aria-labelledby="{{id}}-tab" markdown="1">
{% for channel in channels -%}
## {{channel | capitalize }} channel ({{include.os... | website/src/release/_release_os.md/0 | {
"file_path": "website/src/release/_release_os.md",
"repo_id": "website",
"token_count": 270
} | 1,378 |
---
title: Android 14 nonlinear font scaling enabled
description: >-
Android 14's new nonlinear font scaling feature is
enabled in Flutter after v3.14.
---
## Summary
Android 14 introduced nonlinear font scaling up to 200%.
It may change how your app looks when the user changes
the accessibility text scaling in s... | website/src/release/breaking-changes/android-14-nonlinear-text-scaling-migration.md/0 | {
"file_path": "website/src/release/breaking-changes/android-14-nonlinear-text-scaling-migration.md",
"repo_id": "website",
"token_count": 734
} | 1,379 |
---
title: Default drag scrolling devices
description: >
ScrollBehaviors will now configure what
PointerDeviceKinds can drag Scrollables.
---
## Summary
`ScrollBehavior`s now allow or disallow drag scrolling from specified
`PointerDeviceKind`s. `ScrollBehavior.dragDevices`, by default,
allows scrolling widgets to... | website/src/release/breaking-changes/default-scroll-behavior-drag.md/0 | {
"file_path": "website/src/release/breaking-changes/default-scroll-behavior-drag.md",
"repo_id": "website",
"token_count": 1815
} | 1,380 |
---
title: GestureRecognizer cleanup
description: >
OneSequenceGestureRecognizer subclasses should
override `addAllowedPointer` to take a `PointerDownEvent`
---
## Summary
`OneSequenceGestureRecognizer.addAllowedPointer()` was changed to take a
`PointerDownEvent`, like its superclass. Previously, it accepted the ... | website/src/release/breaking-changes/gesture-recognizer-add-allowed-pointer.md/0 | {
"file_path": "website/src/release/breaking-changes/gesture-recognizer-add-allowed-pointer.md",
"repo_id": "website",
"token_count": 739
} | 1,381 |
---
title: Updated default text styles for menus
description: >-
The default text styles for menus are updated to
match the Material 3 specification.
---
## Summary
The default text styles used for menus are updated
to match the Material 3 specification.
## Context
The default text style for `MenuItemButton` (a... | website/src/release/breaking-changes/menus-text-style.md/0 | {
"file_path": "website/src/release/breaking-changes/menus-text-style.md",
"repo_id": "website",
"token_count": 1649
} | 1,382 |
---
title: Default `PrimaryScrollController` on Desktop
description: >
The `PrimaryScrollController` will no longer attach to
vertical `ScrollView`s automatically on Desktop.
---
## Summary
The `PrimaryScrollController` API has been updated to no longer automatically
attach to vertical `ScrollView`s on desktop pl... | website/src/release/breaking-changes/primary-scroll-controller-desktop.md/0 | {
"file_path": "website/src/release/breaking-changes/primary-scroll-controller-desktop.md",
"repo_id": "website",
"token_count": 2413
} | 1,383 |
---
title: Customizing tabs alignment using the new TabBar.tabAlignment property
description: Introducing the TabBar.tabAlignment property.
---
## Summary
Using `TabBar.tabAlignment` to customize the alignment of tabs in a `TabBar`.
## Context
The `TabBar.tabAlignment` property sets where a Material 3 `TabBar` plac... | website/src/release/breaking-changes/tab-alignment.md/0 | {
"file_path": "website/src/release/breaking-changes/tab-alignment.md",
"repo_id": "website",
"token_count": 1048
} | 1,384 |
---
title: Migrate a Windows project to support dark title bars
description: How to update a Windows project to support dark title bars
---
Projects created before Flutter 3.7 have light title bars even
when the Windows theme is dark mode. Projects created before
Flutter 3.7 need to be migrated to support dark title b... | website/src/release/breaking-changes/windows-dark-mode.md/0 | {
"file_path": "website/src/release/breaking-changes/windows-dark-mode.md",
"repo_id": "website",
"token_count": 543
} | 1,385 |
---
title: Flutter 1.2.1 release notes
short-title: 1.2.1 release notes
description: Release notes for Flutter 1.2.1.
---
Our #1 priority since the Flutter v1.0 release has been to
continue to address high priority issues reported both by
Flutter developers and the Flutter team itself.
This includes committing 672 pul... | website/src/release/release-notes/release-notes-1.2.1.md/0 | {
"file_path": "website/src/release/release-notes/release-notes-1.2.1.md",
"repo_id": "website",
"token_count": 4944
} | 1,386 |
---
title: Videos
description: >
Available videos on various aspects of developing in Flutter.
---
These Flutter videos, produced both internally
at Google and by the Flutter community,
might help if you are a visual learner.
Note that many people make Flutter videos.
This page shows some that we like,
but there ar... | website/src/resources/videos.md/0 | {
"file_path": "website/src/resources/videos.md",
"repo_id": "website",
"token_count": 2409
} | 1,387 |
---
title: Testing plugins
description: Learn how to test your plugin package.
---
All of the [usual types of Flutter tests][] apply to
plugin packages as well, but because plugins contain
native code they often also require other kinds of tests
to test all of their functionality.
[usual types of Flutter tests]: /tes... | website/src/testing/testing-plugins.md/0 | {
"file_path": "website/src/testing/testing-plugins.md",
"repo_id": "website",
"token_count": 2078
} | 1,388 |
## CPU profiler
Start recording a CPU profile by clicking **Record**.
When you are done recording, click **Stop**. At this point,
CPU profiling data is pulled from the VM and displayed
in the profiler views (Call tree, Bottom up, Method table,
and Flame chart).
To load all available CPU samples without manually
recor... | website/src/tools/devtools/_profiler.md/0 | {
"file_path": "website/src/tools/devtools/_profiler.md",
"repo_id": "website",
"token_count": 1952
} | 1,389 |
---
short-title: 2.12.1 release notes
description: Release notes for Dart and Flutter DevTools version 2.12.1.
toc: false
---
{% include_relative release-notes-2.12.1-src.md %}
| website/src/tools/devtools/release-notes/release-notes-2.12.1.md/0 | {
"file_path": "website/src/tools/devtools/release-notes/release-notes-2.12.1.md",
"repo_id": "website",
"token_count": 61
} | 1,390 |
---
short-title: 2.19.0 release notes
description: Release notes for Dart and Flutter DevTools version 2.19.0.
toc: false
---
{% include_relative release-notes-2.19.0-src.md %}
| website/src/tools/devtools/release-notes/release-notes-2.19.0.md/0 | {
"file_path": "website/src/tools/devtools/release-notes/release-notes-2.19.0.md",
"repo_id": "website",
"token_count": 61
} | 1,391 |
---
short-title: 2.27.0 release notes
description: Release notes for Dart and Flutter DevTools version 2.27.0.
toc: false
---
{% include_relative release-notes-2.27.0-src.md %}
| website/src/tools/devtools/release-notes/release-notes-2.27.0.md/0 | {
"file_path": "website/src/tools/devtools/release-notes/release-notes-2.27.0.md",
"repo_id": "website",
"token_count": 61
} | 1,392 |
---
short-title: 2.31.0 release notes
description: Release notes for Dart and Flutter DevTools version 2.31.0.
toc: false
---
{% include_relative release-notes-2.31.0-src.md %}
| website/src/tools/devtools/release-notes/release-notes-2.31.0.md/0 | {
"file_path": "website/src/tools/devtools/release-notes/release-notes-2.31.0.md",
"repo_id": "website",
"token_count": 61
} | 1,393 |
---
title: Code formatting
description: >
Flutter's code formatter formats your code
following recommended style guidelines.
---
While your code might follow any preferred style—in our
experience—teams of developers might find it more productive to:
* Have a single, shared style, and
* Enforce th... | website/src/tools/formatting.md/0 | {
"file_path": "website/src/tools/formatting.md",
"repo_id": "website",
"token_count": 729
} | 1,394 |
---
title: Adding assets and images
description: How to use images (and other assets) in your Flutter app.
short-title: Assets and images
---
<?code-excerpt path-base="ui/assets_and_images/lib"?>
Flutter apps can include both code and _assets_
(sometimes called resources). An asset is a file
that is bundled and deplo... | website/src/ui/assets/assets-and-images.md/0 | {
"file_path": "website/src/ui/assets/assets-and-images.md",
"repo_id": "website",
"token_count": 5182
} | 1,395 |
---
title: Layouts in Flutter
short-title: Layout
description: Learn how Flutter's layout mechanism works and how to build a layout.
diff2html: true
---
{% assign api = site.api | append: '/flutter' -%}
{% capture examples -%} {{site.repo.this}}/tree/{{site.branch}}/examples {%- endcapture -%}
<?code-excerpt path-bas... | website/src/ui/layout/index.md/0 | {
"file_path": "website/src/ui/layout/index.md",
"repo_id": "website",
"token_count": 15349
} | 1,396 |
---
title: Cupertino (iOS-style) widgets
short-title: Cupertino
description: >
A catalog of Flutter's widgets implementing the Cupertino design language.
---
{% include docs/catalogpage.html category="Cupertino (iOS-style widgets)" %}
| website/src/ui/widgets/cupertino.md/0 | {
"file_path": "website/src/ui/widgets/cupertino.md",
"repo_id": "website",
"token_count": 70
} | 1,397 |
// Copyright 2024 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:args/command_runner.dart';
import '../utils.dart';
final class CheckAllCommand extends Command<in... | website/tool/flutter_site/lib/src/commands/check_all.dart/0 | {
"file_path": "website/tool/flutter_site/lib/src/commands/check_all.dart",
"repo_id": "website",
"token_count": 445
} | 1,398 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/animated-responsive-layout/step_04/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/animated-responsive-layout/step_04/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 0 |
#include "Generated.xcconfig"
| codelabs/animated-responsive-layout/step_06/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "codelabs/animated-responsive-layout/step_06/ios/Flutter/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 1 |
#include "Generated.xcconfig"
| codelabs/animated-responsive-layout/step_07/ios/Flutter/Release.xcconfig/0 | {
"file_path": "codelabs/animated-responsive-layout/step_07/ios/Flutter/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 2 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/animated-responsive-layout/step_07/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/animated-responsive-layout/step_07/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 3 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/boring_to_beautiful/final/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/boring_to_beautiful/final/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 4 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/boring_to_beautiful/step_02/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/boring_to_beautiful/step_02/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 5 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/boring_to_beautiful/step_04/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/boring_to_beautiful/step_04/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 6 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/boring_to_beautiful/step_06/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/boring_to_beautiful/step_06/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 7 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/brick_breaker/step_05/android/gradle.properties/0 | {
"file_path": "codelabs/brick_breaker/step_05/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 8 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/brick_breaker/step_05/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/brick_breaker/step_05/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 9 |
name: Dart Patterns and Records
steps:
- name: step_03
steps:
- name: Remove generated code
rmdir: step_03
- name: Create project
flutter: create --empty patterns_codelab
- name: Strip DEVELOPMENT_TEAM
strip-lines-containing: DEVELOPMENT_TEAM =
path: patterns_code... | codelabs/dart-patterns-and-records/codelab_rebuild.yaml/0 | {
"file_path": "codelabs/dart-patterns-and-records/codelab_rebuild.yaml",
"repo_id": "codelabs",
"token_count": 14325
} | 10 |
#include "Generated.xcconfig"
| codelabs/dart-patterns-and-records/step_06_b/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_06_b/ios/Flutter/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 11 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/dart-patterns-and-records/step_07_a/macos/Flutter/Flutter-Release.xcconfig/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_07_a/macos/Flutter/Flutter-Release.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 12 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/dart-patterns-and-records/step_07_b/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_07_b/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 13 |
#include "Generated.xcconfig"
| codelabs/dart-patterns-and-records/step_12/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_12/ios/Flutter/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 14 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/deeplink_cookbook/macos/Flutter/Flutter-Release.xcconfig/0 | {
"file_path": "codelabs/deeplink_cookbook/macos/Flutter/Flutter-Release.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 15 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/ffigen_codelab/step_03/example/android/gradle.properties/0 | {
"file_path": "codelabs/ffigen_codelab/step_03/example/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 16 |
{
"indexes": [],
"fieldOverrides": []
}
| codelabs/firebase-auth-flutterfire-ui/complete/firestore.indexes.json/0 | {
"file_path": "codelabs/firebase-auth-flutterfire-ui/complete/firestore.indexes.json",
"repo_id": "codelabs",
"token_count": 21
} | 17 |
{"signIn":{"allowDuplicateEmails":false},"usageMode":"DEFAULT"}
| codelabs/firebase-emulator-suite/complete/emulators_data/auth_export/config.json/0 | {
"file_path": "codelabs/firebase-emulator-suite/complete/emulators_data/auth_export/config.json",
"repo_id": "codelabs",
"token_count": 20
} | 18 |
// File generated by FlutterFire CLI.
// ignore_for_file: lines_longer_than_80_chars
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
import 'package:flutter/foundation.dart'
show defaultTargetPlatform, kIsWeb, TargetPlatform;
/// Default [FirebaseOptions] for use with your Firebase apps.
//... | codelabs/firebase-emulator-suite/complete/lib/firebase_options.dart/0 | {
"file_path": "codelabs/firebase-emulator-suite/complete/lib/firebase_options.dart",
"repo_id": "codelabs",
"token_count": 1118
} | 19 |
#import "GeneratedPluginRegistrant.h"
| codelabs/firebase-get-to-know-flutter/step_09/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/firebase-get-to-know-flutter/step_09/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 20 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/firebase-get-to-know-flutter/step_09/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/firebase-get-to-know-flutter/step_09/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 21 |
#include "include/window_to_front/window_to_front_plugin_c_api.h"
#include <flutter/plugin_registrar_windows.h>
#include "window_to_front_plugin.h"
void WindowToFrontPluginCApiRegisterWithRegistrar(
FlutterDesktopPluginRegistrarRef registrar) {
window_to_front::WindowToFrontPlugin::RegisterWithRegistrar(
... | codelabs/github-client/window_to_front/windows/window_to_front_plugin_c_api.cpp/0 | {
"file_path": "codelabs/github-client/window_to_front/windows/window_to_front_plugin_c_api.cpp",
"repo_id": "codelabs",
"token_count": 158
} | 22 |
#import "GeneratedPluginRegistrant.h"
| codelabs/google-maps-in-flutter/step_3/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/google-maps-in-flutter/step_3/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 23 |
#include "Generated.xcconfig"
| codelabs/haiku_generator/step0/ios/Flutter/Release.xcconfig/0 | {
"file_path": "codelabs/haiku_generator/step0/ios/Flutter/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 24 |
#include "Generated.xcconfig"
| codelabs/haiku_generator/step2/ios/Flutter/Release.xcconfig/0 | {
"file_path": "codelabs/haiku_generator/step2/ios/Flutter/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 25 |
import 'package:flutter/material.dart';
// New: Add this import
import 'package:home_widget/home_widget.dart';
import 'article_screen.dart';
import 'news_data.dart';
// New: Add these constants
// TO DO: Replace with your App Group ID
const String appGroupId = '<YOUR APP GROUP>';
const String iOSWidgetName = 'NewsWid... | codelabs/homescreen_codelab/step_04/lib/home_screen.dart/0 | {
"file_path": "codelabs/homescreen_codelab/step_04/lib/home_screen.dart",
"repo_id": "codelabs",
"token_count": 1011
} | 26 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/namer/step_05_a_pair/android/gradle.properties/0 | {
"file_path": "codelabs/namer/step_05_a_pair/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 27 |
#include "Generated.xcconfig"
| codelabs/namer/step_05_c_card_padding/ios/Flutter/Release.xcconfig/0 | {
"file_path": "codelabs/namer/step_05_c_card_padding/ios/Flutter/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 28 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/namer/step_05_c_card_padding/macos/Flutter/Flutter-Release.xcconfig/0 | {
"file_path": "codelabs/namer/step_05_c_card_padding/macos/Flutter/Flutter-Release.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 29 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/namer/step_05_d_theme/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/namer/step_05_d_theme/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 30 |
#include "Generated.xcconfig"
| codelabs/namer/step_05_h_center_horizontal/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "codelabs/namer/step_05_h_center_horizontal/ios/Flutter/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 31 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/namer/step_05_h_center_horizontal/macos/Flutter/Flutter-Debug.xcconfig/0 | {
"file_path": "codelabs/namer/step_05_h_center_horizontal/macos/Flutter/Flutter-Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 32 |
#import "GeneratedPluginRegistrant.h"
| codelabs/namer/step_05_i_optional_changes/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/namer/step_05_i_optional_changes/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 33 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/namer/step_05_i_optional_changes/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/namer/step_05_i_optional_changes/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 34 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/namer/step_07_e_add_layout_builder/android/gradle.properties/0 | {
"file_path": "codelabs/namer/step_07_e_add_layout_builder/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 35 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/next-gen-ui/step_03_a/android/gradle.properties/0 | {
"file_path": "codelabs/next-gen-ui/step_03_a/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 36 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/next-gen-ui/step_04_c/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/next-gen-ui/step_04_c/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 37 |
#import "GeneratedPluginRegistrant.h"
| codelabs/next-gen-ui/step_04_d/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/next-gen-ui/step_04_d/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 38 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/next-gen-ui/step_05_a/android/gradle.properties/0 | {
"file_path": "codelabs/next-gen-ui/step_05_a/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 39 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/testing_codelab/step_06/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/testing_codelab/step_06/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 40 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/testing_codelab/step_08/android/gradle.properties/0 | {
"file_path": "codelabs/testing_codelab/step_08/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 41 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/testing_codelab/step_08/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/testing_codelab/step_08/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 42 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| codelabs/tfagents-flutter/finished/frontend/android/gradle.properties/0 | {
"file_path": "codelabs/tfagents-flutter/finished/frontend/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 31
} | 43 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| codelabs/tfagents-flutter/step1/frontend/android/gradle.properties/0 | {
"file_path": "codelabs/tfagents-flutter/step1/frontend/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 31
} | 44 |
#import "GeneratedPluginRegistrant.h"
| codelabs/tfagents-flutter/step5/frontend/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/tfagents-flutter/step5/frontend/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 45 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/tfagents-flutter/step5/frontend/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/tfagents-flutter/step5/frontend/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 46 |
#include "Generated.xcconfig"
| codelabs/tfagents-flutter/step6/frontend/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "codelabs/tfagents-flutter/step6/frontend/ios/Flutter/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 47 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/tfagents-flutter/step6/frontend/macos/Flutter/Flutter-Debug.xcconfig/0 | {
"file_path": "codelabs/tfagents-flutter/step6/frontend/macos/Flutter/Flutter-Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 48 |
#include "Generated.xcconfig"
| codelabs/tfrs-flutter/step0/frontend/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "codelabs/tfrs-flutter/step0/frontend/ios/Flutter/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 49 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/tfrs-flutter/step0/frontend/macos/Flutter/Flutter-Release.xcconfig/0 | {
"file_path": "codelabs/tfrs-flutter/step0/frontend/macos/Flutter/Flutter-Release.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 50 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.