text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
You can also create a `.vscode/launch.json` file in your Flutter module project.
This enables you to attach using the **Run > Start Debugging** command or `F5`:
```json
{
name: "Flutter: Attach",
request: "attach",
type: "dart",
}
``` | website/src/_includes/docs/debug/vscode-flutter-attach-json.md/0 | {
"file_path": "website/src/_includes/docs/debug/vscode-flutter-attach-json.md",
"repo_id": "website",
"token_count": 83
} | 1,412 |
## Check your development setup
{% include docs/help-link.md location='win-doctor' %}
{% assign devos = include.devos %}
{% assign target = include.target %}
{% assign compiler = include.compiler %}
{% case devos %}
{% when 'Windows' -%}
{% assign terminal='PowerShell' %}
{% assign prompt='C:\>' %}
{% when "ma... | website/src/_includes/docs/install/flutter-doctor.md/0 | {
"file_path": "website/src/_includes/docs/install/flutter-doctor.md",
"repo_id": "website",
"token_count": 774
} | 1,413 |
{% assign target = include.target %}
{% assign xcode = '[Xcode][] ' | append: site.appnow.xcode | append: ' to debug and compile native Swift or ObjectiveC code.' %}
{% assign cocoapods = '[CocoaPods][] ' | append: site.appnow.cocoapods | append: ' to compile enable Flutter plugins in your native apps.' %}
{% capture ... | website/src/_includes/docs/install/reqs/macos/software.md/0 | {
"file_path": "website/src/_includes/docs/install/reqs/macos/software.md",
"repo_id": "website",
"token_count": 493
} | 1,414 |
{% comment %}
My reason for making this note an include is so
that it's easier to search for it and to replace
the master API links with stable API links once
changes land. This has become an issue now that
we maintain breaking changes docs for future
releases on our site. - sz
{% endcomment %}
{{site.aler... | website/src/_includes/docs/main-api.md/0 | {
"file_path": "website/src/_includes/docs/main-api.md",
"repo_id": "website",
"token_count": 171
} | 1,415 |
{% for entry in include.children -%}
{% if include.active_entries and forloop.index == include.active_entries[2] -%}
{% assign isActive = true -%}
{% assign class = 'nav-link active' -%}
{% else -%}
{% assign isActive = false -%}
{% assign class = 'nav-link' -%}
{% endif -%}
{% if entry == 'divider' -%}
<d... | website/src/_includes/sidenav-level-3.html/0 | {
"file_path": "website/src/_includes/sidenav-level-3.html",
"repo_id": "website",
"token_count": 779
} | 1,416 |
# Defines a tag that renders a code sample with multiple languages.
#
# This custom tag was written by the Flutter team for the Flutter website.
#
# Example Android usage:
#
# {% samplecode sample-title %}
# {% sample Java %}
# <?code-excerpt "MyActivity.java" title?>
# ```java
# // Java code here
# ```
# ... | website/src/_plugins/code_tabs.rb/0 | {
"file_path": "website/src/_plugins/code_tabs.rb",
"repo_id": "website",
"token_count": 3222
} | 1,417 |
@use 'sass:color';
@use '../base/variables' as *;
@use '../base/material-colors' as *;
@use '../vendor/bootstrap';
@use '../vendor/prettify';
@mixin pre-defaults {
background-color: $site-color-codeblock-bg;
padding: bootstrap.bs-spacer(3) bootstrap.bs-spacer(4);
}
$flutter-color-teal-darker:
color.scale... | website/src/_sass/components/_code.scss/0 | {
"file_path": "website/src/_sass/components/_code.scss",
"repo_id": "website",
"token_count": 1893
} | 1,418 |
The concept of an initial route is available when configuring a
`FlutterActivity` or a `FlutterFragment` with a new `FlutterEngine`.
However, `FlutterActivity` and `FlutterFragment` don't offer the
concept of an initial route when using a cached engine.
This is because a cached engine is expected to already be
running ... | website/src/add-to-app/android/_initial-route-cached-engine.md/0 | {
"file_path": "website/src/add-to-app/android/_initial-route-cached-engine.md",
"repo_id": "website",
"token_count": 798
} | 1,419 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 27.7.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
version="1.1"
id="Layer_1"
x="0px"
y="0px"
width="0.5in"
height="0.5in"
viewBox="0 0 47.998463 47.998464"
xml:space="preserve"
sodipodi:d... | website/src/assets/images/docs/brand-svg/macos-bug.svg/0 | {
"file_path": "website/src/assets/images/docs/brand-svg/macos-bug.svg",
"repo_id": "website",
"token_count": 1149
} | 1,420 |
const oldToNew = {
'ios-setup': '/get-started/install/macos/mobile-ios',
'set-up-the-ios-simulator': '/get-started/install/macos/mobile-ios#configure-your-target-ios-device',
'deploy-to-physical-ios-devices': '/deployment/ios',
'deploy-to-ios-devices': '/deployment/ios',
'macos-setup': '/get-started/install/... | website/src/assets/js/temp/macos-install-redirector.js/0 | {
"file_path": "website/src/assets/js/temp/macos-install-redirector.js",
"repo_id": "website",
"token_count": 642
} | 1,421 |
---
title: Use a custom font
description: How to use custom fonts.
---
<?code-excerpt path-base="cookbook/design/fonts/"?>
{{site.alert.secondary}}
## What you'll learn
* How to choose a font.
* How to import font files.
* How to set a font as a default.
* How to use a font in a given widget.
{{site.alert.end}}
A... | website/src/cookbook/design/fonts.md/0 | {
"file_path": "website/src/cookbook/design/fonts.md",
"repo_id": "website",
"token_count": 4351
} | 1,422 |
---
title: Create a staggered menu animation
description: How to implement a staggered menu animation.
js:
- defer: true
url: https://old-dartpad-3ce3f.web.app/inject_embed.dart.js
---
<?code-excerpt path-base="cookbook/effects/staggered_menu_animation"?>
A single app screen might contain multiple animations.
P... | website/src/cookbook/effects/staggered-menu-animation.md/0 | {
"file_path": "website/src/cookbook/effects/staggered-menu-animation.md",
"repo_id": "website",
"token_count": 7721
} | 1,423 |
---
title: Images
description: A catalog of recipes for handling images in your Flutter app.
---
{% include docs/cookbook-group-index.md %}
| website/src/cookbook/images/index.md/0 | {
"file_path": "website/src/cookbook/images/index.md",
"repo_id": "website",
"token_count": 41
} | 1,424 |
---
title: Navigation
description: A catalog of recipes for handling navigation in your Flutter app.
---
{% include docs/cookbook-group-index.md %}
| website/src/cookbook/navigation/index.md/0 | {
"file_path": "website/src/cookbook/navigation/index.md",
"repo_id": "website",
"token_count": 41
} | 1,425 |
---
title: Persistence
description: A catalog of recipes for adding persistence to your Flutter app.
---
{% include docs/cookbook-group-index.md %}
| website/src/cookbook/persistence/index.md/0 | {
"file_path": "website/src/cookbook/persistence/index.md",
"repo_id": "website",
"token_count": 42
} | 1,426 |
---
title: Widget
description: A catalog of recipes for adding widget testing to your Flutter app.
---
{% include docs/cookbook-group-index.md %}
| website/src/cookbook/testing/widget/index.md/0 | {
"file_path": "website/src/cookbook/testing/widget/index.md",
"repo_id": "website",
"token_count": 43
} | 1,427 |
---
title: List of state management approaches
description: A list of different approaches to managing state.
prev:
title: Simple app state management
path: /development/data-and-backend/state-mgmt/simple
---
State management is a complex topic.
If you feel that some of your questions haven't been answered,
or tha... | website/src/data-and-backend/state-mgmt/options.md/0 | {
"file_path": "website/src/data-and-backend/state-mgmt/options.md",
"repo_id": "website",
"token_count": 4036
} | 1,428 |
---
title: Write your first Flutter app
description: How to write an app in Flutter.
short-title: Write your first app
prev:
title: Test drive
path: /get-started/test-drive
next:
title: Learn more
path: /get-started/learn-more
toc: false
---
You are now ready to start the "First Flutter app" codelab.
In about ... | website/src/get-started/codelab.md/0 | {
"file_path": "website/src/get-started/codelab.md",
"repo_id": "website",
"token_count": 506
} | 1,429 |
---
title: Handling user input
description: Learn how to handle user input in Flutter.
prev:
title: State management
path: /get-started/fwe/state-management
next:
title: Networking and data
path: /get-started/fwe/networking
---
Now that you know how to manage state in your
Flutter app, how can you let users in... | website/src/get-started/fwe/user-input.md/0 | {
"file_path": "website/src/get-started/fwe/user-input.md",
"repo_id": "website",
"token_count": 3426
} | 1,430 |
---
title: Start building Flutter Android apps on ChromeOS
description: Configure your system to develop Flutter mobile apps on ChromeOS and Android.
short-title: ChromeOS Android development
target: Android
config: ChromeOSAndroid
devos: ChromeOS
next:
title: Create a test app
path: /get-started/test-drive
---
{%... | website/src/get-started/install/chromeos/android.md/0 | {
"file_path": "website/src/get-started/install/chromeos/android.md",
"repo_id": "website",
"token_count": 309
} | 1,431 |
---
title: Start building Flutter Android apps on Windows
description: Configure your system to develop Flutter mobile apps on Windows.
short-title: Make Android apps
target: Android
config: WindowsAndroid
devos: Windows
next:
title: Create a test app
path: /get-started/test-drive
---
{% include docs/install/reqs/... | website/src/get-started/install/windows/mobile.md/0 | {
"file_path": "website/src/get-started/install/windows/mobile.md",
"repo_id": "website",
"token_count": 302
} | 1,432 |
---
title: Deferred components
description: How to create deferred components for improved download performance.
---
<?code-excerpt path-base="perf/deferred_components"?>
## Introduction
Flutter has the capability to build apps that can
download additional Dart code and assets at runtime.
This allows apps to reduce ... | website/src/perf/deferred-components.md/0 | {
"file_path": "website/src/perf/deferred-components.md",
"repo_id": "website",
"token_count": 6078
} | 1,433 |
---
title: Add iOS devtools to Flutter from Android start
description: Configure your system to develop Flutter mobile apps also on iOS.
short-title: Starting from Android
---
To add iOS as a Flutter app target for macOS, follow this procedure.
## Install Xcode
1. Allocate a minimum of 26 GB of storage for Xcode.
... | website/src/platform-integration/ios/install-ios/install-ios-from-android.md/0 | {
"file_path": "website/src/platform-integration/ios/install-ios/install-ios-from-android.md",
"repo_id": "website",
"token_count": 232
} | 1,434 |
---
title: Add macOS devtools for Flutter
description: Configure your system to develop Flutter for macOS.
short-title: Add macOS desktop DevTools
target-list: [iOS, Android, Web]
---
To choose the guide to add macOS devtools to your Flutter configuration,
click the [Getting Started path][] you followed.
<div class="... | website/src/platform-integration/macos/install-macos/index.md/0 | {
"file_path": "website/src/platform-integration/macos/install-macos/index.md",
"repo_id": "website",
"token_count": 584
} | 1,435 |
---
title: Add web DevTools to Flutter from Linux start
description: Configure your system to develop Flutter web apps on Linux.
short-title: Starting from Linux desktop
---
To add web as a Flutter app target for Linux desktop, follow this procedure.
## Configure Chrome as the web DevTools tools
{% include docs/inst... | website/src/platform-integration/web/install-web/install-web-from-linux-desktop.md/0 | {
"file_path": "website/src/platform-integration/web/install-web/install-web-from-linux-desktop.md",
"repo_id": "website",
"token_count": 138
} | 1,436 |
---
title: Tutorials
description: A list of Flutter tutorials.
---
The **Flutter tutorials** teach you how to use the Flutter framework to
build mobile applications for iOS and Android.
Choose from the following:
* [Building layouts](/ui/layout/tutorial)
: How to build layouts using Flutter's layout mechanism. Once ... | website/src/reference/tutorials.md/0 | {
"file_path": "website/src/reference/tutorials.md",
"repo_id": "website",
"token_count": 295
} | 1,437 |
---
title: Migration guide for adding AppLifecycleState.hidden
description: AppLifecycleState had an additional hidden state added.
---
## Summary
A new `hidden` state was added to the [`AppLifecycleState`][] enum to denote
when the application is not visible.
## Context
The `AppLifecycleState` enum is used to indi... | website/src/release/breaking-changes/add-applifecyclestate-hidden.md/0 | {
"file_path": "website/src/release/breaking-changes/add-applifecyclestate-hidden.md",
"repo_id": "website",
"token_count": 846
} | 1,438 |
---
title: New CupertinoIcons has icon glyph changes
description: >
Once you update to cupertino_icons 1.0.0, some old glyphs are
automapped to the new glyphs. Consider double-checking visually.
---
## Summary
The existing cupertino_icons [0.1.3 icons][]
are based on iOS 11 aesthetics with sharp angles and thin l... | website/src/release/breaking-changes/cupertino-icons-1.0.0.md/0 | {
"file_path": "website/src/release/breaking-changes/cupertino-icons-1.0.0.md",
"repo_id": "website",
"token_count": 1067
} | 1,439 |
---
title: Deprecate MemoryAllocations in favor of FlutterMemoryAllocations
description: >-
MemoryAllocations is renamed to FlutterMemoryAllocations.
---
## Summary
Disposables in pure Dart projects can't use `MemoryAllocations` in Flutter.
So, to be leak-trackable they need a Dart-only class.
`MemoryAllocations` ... | website/src/release/breaking-changes/flutter-memory-allocations.md/0 | {
"file_path": "website/src/release/breaking-changes/flutter-memory-allocations.md",
"repo_id": "website",
"token_count": 389
} | 1,440 |
---
title: Migrate to Material 3
description: >-
Learn how to migrate your Flutter app's UI from Material 2 to Material 3.
---
## Summary
The Material library has been updated to match the Material 3 Design spec.
Changes include new components and component themes, updated component visuals,
and much more. Many of ... | website/src/release/breaking-changes/material-3-migration.md/0 | {
"file_path": "website/src/release/breaking-changes/material-3-migration.md",
"repo_id": "website",
"token_count": 5363
} | 1,441 |
---
title: The generic type of ParentDataWidget changed to ParentData
description: The ParentDataWidget is now bound to the ParentData type.
---
## Summary
The generic type of `ParentDataWidget` has changed from
`RenderObjectWidget` to `ParentData`.
## Context
Prior to this change, a `ParentDataWidget` was bound
to... | website/src/release/breaking-changes/parent-data-widget-generic-type.md/0 | {
"file_path": "website/src/release/breaking-changes/parent-data-widget-generic-type.md",
"repo_id": "website",
"token_count": 1202
} | 1,442 |
---
title: Migrate ShortcutActivator and ShortcutManager to KeyEvent system
description: >
The raw key event subsystem has been superseded by the key event subsystem,
and APIs that use RawKeyEvent and RawKeyboard are converted to KeyEvent and
HardwareKeyboard.
---
## Summary
For some time now (years), Flutter h... | website/src/release/breaking-changes/shortcut-key-event-migration.md/0 | {
"file_path": "website/src/release/breaking-changes/shortcut-key-event-migration.md",
"repo_id": "website",
"token_count": 1763
} | 1,443 |
---
title: Introduction of FlutterEngine::ProcessExternalWindowMessage
description: >-
External windows should call ProcessExternalWindowMessage to
be considered for application lifecycle events.
---
## Summary
When you add any external windows to your Flutter app,
you need to include them in the Window's app lif... | website/src/release/breaking-changes/win-lifecycle-process-function.md/0 | {
"file_path": "website/src/release/breaking-changes/win-lifecycle-process-function.md",
"repo_id": "website",
"token_count": 527
} | 1,444 |
---
title: Flutter Changelog 0.0.21 - 1.0.0
short-title: Flutter Changelog up to 1.0.0
description: Archived Changelog wiki page, containing release information between Flutter 0.0.21 and 1.0.0.
---
_This page is a dump of the old Changelog page from the Flutter wiki up until
[Flutter release notes](./) were published... | website/src/release/release-notes/release-notes-0.0.21-1.0.0.md/0 | {
"file_path": "website/src/release/release-notes/release-notes-0.0.21-1.0.0.md",
"repo_id": "website",
"token_count": 7665
} | 1,445 |
---
title: Casual Games Toolkit
description: Free & open source multiplatform 2D game development in Flutter
---
The Flutter Casual Games Toolkit pulls together new and existing resources
so you can accelerate development of games on mobile platforms.
This page outlines where you can find these available resources.
... | website/src/resources/games-toolkit.md/0 | {
"file_path": "website/src/resources/games-toolkit.md",
"repo_id": "website",
"token_count": 4439
} | 1,446 |
---
title: Use a native language debugger
short-title: debuggers
description: How to connect a native debugger to your running Flutter app.
---
<?code-excerpt path-base="testing/native_debugging"?>
{{site.alert.note}}
This guide presumes you understand general debugging,
have installed Flutter and git, and have f... | website/src/testing/native-debugging.md/0 | {
"file_path": "website/src/testing/native-debugging.md",
"repo_id": "website",
"token_count": 8100
} | 1,447 |
---
title: DevTools
description: How to use the DevTools with Flutter.
---
## What is DevTools?
DevTools is a suite of performance and debugging tools
for Dart and Flutter.
{:width="100%"}
For a video introduction to DevTools, check out
t... | website/src/tools/devtools/overview.md/0 | {
"file_path": "website/src/tools/devtools/overview.md",
"repo_id": "website",
"token_count": 925
} | 1,448 |
# DevTools 2.11.2 release notes
The 2.11.2 release of the Dart and Flutter DevTools
includes the following changes among other general improvements.
To learn more about DevTools, check out the
[DevTools overview](https://docs.flutter.dev/tools/devtools/overview).
## General updates
* This release included a lot of c... | website/src/tools/devtools/release-notes/release-notes-2.11.2-src.md/0 | {
"file_path": "website/src/tools/devtools/release-notes/release-notes-2.11.2-src.md",
"repo_id": "website",
"token_count": 421
} | 1,449 |
# DevTools 2.18.0 release notes
The 2.18.0 release of the Dart and Flutter DevTools
includes the following changes among other general improvements.
To learn more about DevTools, check out the
[DevTools overview](https://docs.flutter.dev/tools/devtools/overview).
## Inspector updates
- Auto scrolling behavior improv... | website/src/tools/devtools/release-notes/release-notes-2.18.0-src.md/0 | {
"file_path": "website/src/tools/devtools/release-notes/release-notes-2.18.0-src.md",
"repo_id": "website",
"token_count": 893
} | 1,450 |
# DevTools 2.26.1 release notes
The 2.26.1 release of the Dart and Flutter DevTools
includes the following changes among other general improvements.
To learn more about DevTools, check out the
[DevTools overview](https://docs.flutter.dev/tools/devtools/overview).
## General updates
- Added a new "Home" screen in Dev... | website/src/tools/devtools/release-notes/release-notes-2.26.1-src.md/0 | {
"file_path": "website/src/tools/devtools/release-notes/release-notes-2.26.1-src.md",
"repo_id": "website",
"token_count": 522
} | 1,451 |
# DevTools 2.30.0 release notes
The 2.30.0 release of the Dart and Flutter DevTools
includes the following changes among other general improvements.
To learn more about DevTools, check out the
[DevTools overview](https://docs.flutter.dev/tools/devtools/overview).
## Performance updates
* Add an indicator of the rend... | website/src/tools/devtools/release-notes/release-notes-2.30.0-src.md/0 | {
"file_path": "website/src/tools/devtools/release-notes/release-notes-2.30.0-src.md",
"repo_id": "website",
"token_count": 418
} | 1,452 |
---
permalink: /f/devtools-releases.json
layout: none
---
{%- assign releases = site.data.devtools_releases.releases -%}
{%- assign latest = releases | first -%}
{
"latest": "{{latest}}",
"releases": {
{%- for release in releases %}
"{{release}}": "/tools/devtools/release-notes/release-notes-{{release}}-sr... | website/src/tools/devtools/release-notes/releases.liquid/0 | {
"file_path": "website/src/tools/devtools/release-notes/releases.liquid",
"repo_id": "website",
"token_count": 150
} | 1,453 |
---
title: Animations API overview
short-title: API overview
description: An overview of animation concepts.
---
The animation system in Flutter is based on typed
[`Animation`][] objects. Widgets can either
incorporate these animations in their build
functions directly by reading their current value and listening to t... | website/src/ui/animations/overview.md/0 | {
"file_path": "website/src/ui/animations/overview.md",
"repo_id": "website",
"token_count": 3815
} | 1,454 |
---
title: Add interactivity to your Flutter app
description: How to implement a stateful widget that responds to taps.
short-title: Interactivity
diff2html: true
---
{% capture examples -%} {{site.repo.this}}/tree/{{site.branch}}/examples {%- endcapture -%}
{{site.alert.secondary}}
<h4>What you'll learn</h4>
* Ho... | website/src/ui/interactivity/index.md/0 | {
"file_path": "website/src/ui/interactivity/index.md",
"repo_id": "website",
"token_count": 8547
} | 1,455 |
---
title: Assets, images, and icon widgets
short-title: Assets
description: A catalog of Flutter's asset widgets.
---
{% include docs/catalogpage.html category="Assets, Images, and Icons" %}
| website/src/ui/widgets/assets.md/0 | {
"file_path": "website/src/ui/widgets/assets.md",
"repo_id": "website",
"token_count": 57
} | 1,456 |
// 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:io';
import 'package:args/command_runner.dart';
import 'package:flutter_site/flutter_site.dart';
import 'package:io/io.dart' as io;
import 'p... | website/tool/flutter_site/bin/flutter_site.dart/0 | {
"file_path": "website/tool/flutter_site/bin/flutter_site.dart",
"repo_id": "website",
"token_count": 350
} | 1,457 |
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility in the flutter_test package. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the... | codelabs/adaptive_app/step_03/test/widget_test.dart/0 | {
"file_path": "codelabs/adaptive_app/step_03/test/widget_test.dart",
"repo_id": "codelabs",
"token_count": 181
} | 0 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/adaptive_app/step_05/android/gradle.properties/0 | {
"file_path": "codelabs/adaptive_app/step_05/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 1 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/adaptive_app/step_07/android/gradle.properties/0 | {
"file_path": "codelabs/adaptive_app/step_07/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 2 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/animated-responsive-layout/step_04/macos/Flutter/Flutter-Debug.xcconfig/0 | {
"file_path": "codelabs/animated-responsive-layout/step_04/macos/Flutter/Flutter-Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 3 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/animated-responsive-layout/step_05/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/animated-responsive-layout/step_05/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 4 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/animated-responsive-layout/step_06/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/animated-responsive-layout/step_06/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 5 |
// Copyright 2022 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/material.dart';
import '../animations.dart';
import '../destinations.dart';
import '../transitions/nav_rail_transition.dart';
impo... | codelabs/animated-responsive-layout/step_07/lib/widgets/disappearing_navigation_rail.dart/0 | {
"file_path": "codelabs/animated-responsive-layout/step_07/lib/widgets/disappearing_navigation_rail.dart",
"repo_id": "codelabs",
"token_count": 734
} | 6 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/animated-responsive-layout/step_07/macos/Flutter/Flutter-Release.xcconfig/0 | {
"file_path": "codelabs/animated-responsive-layout/step_07/macos/Flutter/Flutter-Release.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 7 |
// Copyright 2022 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:ui';
import 'package:flutter/material.dart';
import '../animations.dart';
class ListDetailTransition extends StatefulWidget {
const ListDe... | codelabs/animated-responsive-layout/step_08/lib/transitions/list_detail_transition.dart/0 | {
"file_path": "codelabs/animated-responsive-layout/step_08/lib/transitions/list_detail_transition.dart",
"repo_id": "codelabs",
"token_count": 1263
} | 8 |
include: ../../analysis_options.yaml
| codelabs/brick_breaker/step_03/analysis_options.yaml/0 | {
"file_path": "codelabs/brick_breaker/step_03/analysis_options.yaml",
"repo_id": "codelabs",
"token_count": 12
} | 9 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/brick_breaker/step_04/android/gradle.properties/0 | {
"file_path": "codelabs/brick_breaker/step_04/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 10 |
import 'package:flame/components.dart';
import 'package:flutter/material.dart';
class Ball extends CircleComponent {
Ball({
required this.velocity,
required super.position,
required double radius,
}) : super(
radius: radius,
anchor: Anchor.center,
paint: Paint()
... | codelabs/brick_breaker/step_05/lib/src/components/ball.dart/0 | {
"file_path": "codelabs/brick_breaker/step_05/lib/src/components/ball.dart",
"repo_id": "codelabs",
"token_count": 219
} | 11 |
#import "GeneratedPluginRegistrant.h"
| codelabs/brick_breaker/step_06/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/brick_breaker/step_06/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 12 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/brick_breaker/step_08/android/gradle.properties/0 | {
"file_path": "codelabs/brick_breaker/step_08/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 13 |
import 'package:flame/game.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import '../brick_breaker.dart';
import '../config.dart';
import 'overlay_screen.dart';
import 'score_card.dart';
class GameApp extends StatefulWidget {
const GameApp({super.key});
@override
... | codelabs/brick_breaker/step_10/lib/src/widgets/game_app.dart/0 | {
"file_path": "codelabs/brick_breaker/step_10/lib/src/widgets/game_app.dart",
"repo_id": "codelabs",
"token_count": 1788
} | 14 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/dart-patterns-and-records/step_03/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_03/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 15 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/dart-patterns-and-records/step_06_a/android/gradle.properties/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_06_a/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 16 |
#include "Generated.xcconfig"
| codelabs/dart-patterns-and-records/step_07_b/ios/Flutter/Release.xcconfig/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_07_b/ios/Flutter/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 17 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/dart-patterns-and-records/step_07_b/macos/Flutter/Flutter-Debug.xcconfig/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_07_b/macos/Flutter/Flutter-Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 18 |
#import "GeneratedPluginRegistrant.h"
| codelabs/dart-patterns-and-records/step_08/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_08/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 19 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/dart-patterns-and-records/step_09/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_09/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 20 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/dart-patterns-and-records/step_11_b/android/gradle.properties/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_11_b/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 21 |
package com.example.deeplink_cookbook
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| codelabs/deeplink_cookbook/android/app/src/main/kotlin/com/example/deeplink_cookbook/MainActivity.kt/0 | {
"file_path": "codelabs/deeplink_cookbook/android/app/src/main/kotlin/com/example/deeplink_cookbook/MainActivity.kt",
"repo_id": "codelabs",
"token_count": 42
} | 22 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/ffigen_codelab/step_05/example/android/gradle.properties/0 | {
"file_path": "codelabs/ffigen_codelab/step_05/example/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 23 |
/*
* duk_config.h configuration header generated by genconfig.py.
*
* Git commit: 03d4d728f8365021de6955c649e6dcd05dcca99f
* Git describe: 03d4d72-dirty
* Git branch: HEAD
*
* Supported platforms:
* - Mac OSX, iPhone, Darwin
* - Orbis
* - OpenBSD
* - Generic BSD
* - Atari ST TO... | codelabs/ffigen_codelab/step_05/src/duk_config.h/0 | {
"file_path": "codelabs/ffigen_codelab/step_05/src/duk_config.h",
"repo_id": "codelabs",
"token_count": 53486
} | 24 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/ffigen_codelab/step_07/example/android/gradle.properties/0 | {
"file_path": "codelabs/ffigen_codelab/step_07/example/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 25 |
import 'package:flutter/material.dart';
class HomeScreen extends StatelessWidget {
const HomeScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
automaticallyImplyLeading: false,
),
body: Center(
child: Column(
chil... | codelabs/firebase-auth-flutterfire-ui/start/lib/home.dart/0 | {
"file_path": "codelabs/firebase-auth-flutterfire-ui/start/lib/home.dart",
"repo_id": "codelabs",
"token_count": 259
} | 26 |
name: complete
description: "A new Flutter project."
publish_to: 'none'
version: 0.1.0
environment:
sdk: '>=3.3.0-279.2.beta <4.0.0'
dependencies:
firebase_auth: ^4.17.2
firebase_core: ^2.25.2
firebase_ui_auth: ^1.12.1
firebase_ui_oauth_google: ^1.2.17
flutter:
sdk: flutter
google_sign_in: ^6.2.1
d... | codelabs/firebase-auth-flutterfire-ui/start/pubspec.yaml/0 | {
"file_path": "codelabs/firebase-auth-flutterfire-ui/start/pubspec.yaml",
"repo_id": "codelabs",
"token_count": 213
} | 27 |
{
"version": "10.6.0",
"firestore": {
"version": "1.14.1",
"path": "firestore_export",
"metadata_file": "firestore_export/firestore_export.overall_export_metadata"
},
"auth": {
"version": "10.6.0",
"path": "auth_export"
}
} | codelabs/firebase-emulator-suite/firebase_seed/firebase-export-metadata.json/0 | {
"file_path": "codelabs/firebase-emulator-suite/firebase_seed/firebase-export-metadata.json",
"repo_id": "codelabs",
"token_count": 114
} | 28 |
#import "GeneratedPluginRegistrant.h"
| codelabs/firebase-emulator-suite/start/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/firebase-emulator-suite/start/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 29 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/firebase-get-to-know-flutter/step_06/android/gradle.properties/0 | {
"file_path": "codelabs/firebase-get-to-know-flutter/step_06/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 30 |
#ifndef FLUTTER_PLUGIN_WINDOW_TO_FRONT_PLUGIN_C_API_H_
#define FLUTTER_PLUGIN_WINDOW_TO_FRONT_PLUGIN_C_API_H_
#include <flutter_plugin_registrar.h>
#ifdef FLUTTER_PLUGIN_IMPL
#define FLUTTER_PLUGIN_EXPORT __declspec(dllexport)
#else
#define FLUTTER_PLUGIN_EXPORT __declspec(dllimport)
#endif
#if defined(__cplusplus)
... | codelabs/github-client/window_to_front/windows/include/window_to_front/window_to_front_plugin_c_api.h/0 | {
"file_path": "codelabs/github-client/window_to_front/windows/include/window_to_front/window_to_front_plugin_c_api.h",
"repo_id": "codelabs",
"token_count": 254
} | 31 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/haiku_generator/step0/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/haiku_generator/step0/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 32 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/haiku_generator/step2/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/haiku_generator/step2/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 33 |
#import "GeneratedPluginRegistrant.h"
| codelabs/homescreen_codelab/step_04/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/homescreen_codelab/step_04/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 34 |
include: ../../../analysis_options.yaml
| codelabs/in_app_purchases/complete/app/analysis_options.yaml/0 | {
"file_path": "codelabs/in_app_purchases/complete/app/analysis_options.yaml",
"repo_id": "codelabs",
"token_count": 13
} | 35 |
#import "GeneratedPluginRegistrant.h"
| codelabs/in_app_purchases/complete/app/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/in_app_purchases/complete/app/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 36 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/namer/step_05_b_extract/android/gradle.properties/0 | {
"file_path": "codelabs/namer/step_05_b_extract/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 37 |
#include "Generated.xcconfig"
| codelabs/namer/step_05_d_theme/ios/Flutter/Release.xcconfig/0 | {
"file_path": "codelabs/namer/step_05_d_theme/ios/Flutter/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 38 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/namer/step_05_d_theme/macos/Flutter/Flutter-Release.xcconfig/0 | {
"file_path": "codelabs/namer/step_05_d_theme/macos/Flutter/Flutter-Release.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 39 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/namer/step_05_e_text_style/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/namer/step_05_e_text_style/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 40 |
#include "Generated.xcconfig"
| codelabs/namer/step_05_i_optional_changes/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "codelabs/namer/step_05_i_optional_changes/ios/Flutter/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 41 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/namer/step_05_i_optional_changes/macos/Flutter/Flutter-Debug.xcconfig/0 | {
"file_path": "codelabs/namer/step_05_i_optional_changes/macos/Flutter/Flutter-Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 42 |
#import "GeneratedPluginRegistrant.h"
| codelabs/namer/step_06_a_business_logic/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/namer/step_06_a_business_logic/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 43 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/namer/step_06_a_business_logic/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/namer/step_06_a_business_logic/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 44 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/namer/step_08/android/gradle.properties/0 | {
"file_path": "codelabs/namer/step_08/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 45 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/next-gen-ui/step_01/android/gradle.properties/0 | {
"file_path": "codelabs/next-gen-ui/step_01/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 46 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/next-gen-ui/step_04_d/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/next-gen-ui/step_04_d/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 47 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/testing_codelab/step_03/android/gradle.properties/0 | {
"file_path": "codelabs/testing_codelab/step_03/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 48 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/testing_codelab/step_05/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/testing_codelab/step_05/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 49 |
#import "GeneratedPluginRegistrant.h"
| codelabs/tfagents-flutter/step4/frontend/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/tfagents-flutter/step4/frontend/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 50 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/tfagents-flutter/step4/frontend/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/tfagents-flutter/step4/frontend/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 51 |
#include "Generated.xcconfig"
| codelabs/tfagents-flutter/step5/frontend/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "codelabs/tfagents-flutter/step5/frontend/ios/Flutter/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 52 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/tfagents-flutter/step5/frontend/macos/Flutter/Flutter-Debug.xcconfig/0 | {
"file_path": "codelabs/tfagents-flutter/step5/frontend/macos/Flutter/Flutter-Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 53 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.