text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
---
title: Build and release a macOS app
description: How to release a Flutter app to the macOS App Store.
short-title: macOS
---
This guide provides a step-by-step walkthrough of releasing a
Flutter app to the [App Store][appstore].
## Preliminaries
Before beginning the process of releasing your app,
ensure that it... | website/src/deployment/macos.md/0 | {
"file_path": "website/src/deployment/macos.md",
"repo_id": "website",
"token_count": 4635
} | 1,279 |
---
title: Flutter for web developers
description: Learn how to apply Web developer knowledge when building Flutter apps.
css-old: [two_column.css]
---
<?code-excerpt path-base="get-started/flutter-for/web_devs"?>
This page is for users who are familiar with the HTML
and CSS syntax for arranging components of an appl... | website/src/get-started/flutter-for/web-devs.md/0 | {
"file_path": "website/src/get-started/flutter-for/web-devs.md",
"repo_id": "website",
"token_count": 10709
} | 1,280 |
## Get the Flutter SDK {#get-sdk}
{% include docs/china-notice.md %}
1. Download the following installation bundle to get the latest
{{site.sdk.channel}} release of the Flutter SDK:
|Intel | | <span class="apple-silicon">Apple Silicon</span> |
|------| | ---------------|
|[(loading...)](#){:.downloa... | website/src/get-started/install/_deprecated/_get-sdk-mac.md/0 | {
"file_path": "website/src/get-started/install/_deprecated/_get-sdk-mac.md",
"repo_id": "website",
"token_count": 1281
} | 1,281 |
---
title: Start building Flutter web apps on Linux
description: Configure your system to develop Flutter web apps on Linux.
short-title: Make web apps
target: Web
config: LinuxWeb
devos: Linux
next:
title: Create a test app
path: /get-started/test-drive
---
{% include docs/install/reqs/linux/base.md
os=page.de... | website/src/get-started/install/linux/web.md/0 | {
"file_path": "website/src/get-started/install/linux/web.md",
"repo_id": "website",
"token_count": 256
} | 1,282 |
---
title: Background processes
description: Where to find more information on implementing background processes in Flutter.
---
Have you ever wanted to execute Dart code in the
background—even if your app wasn't the currently active app?
Perhaps you wanted to implement a process that watches the time,
or that catches... | website/src/packages-and-plugins/background-processes.md/0 | {
"file_path": "website/src/packages-and-plugins/background-processes.md",
"repo_id": "website",
"token_count": 336
} | 1,283 |
---
title: Flutter performance profiling
subtitle: Where to look when your Flutter app drops frames in the UI.
description: Diagnosing UI performance issues in Flutter.
---
{% include docs/performance.md %}
{{site.alert.secondary}}
<h4>What you'll learn</h4>
* Flutter aims to provide 60 frames per second (fps) p... | website/src/perf/ui-performance.md/0 | {
"file_path": "website/src/perf/ui-performance.md",
"repo_id": "website",
"token_count": 4763
} | 1,284 |
---
title: Adding a splash screen to your Android app
short-title: Splash screen
description: Learn how to add a splash screen to your Android app.
---
<img src='/assets/images/docs/development/ui/splash-screen/android-splash-screen/splash-screens_header.png'
class="mw-100" alt="A graphic outlining the launch flow of ... | website/src/platform-integration/android/splash-screen.md/0 | {
"file_path": "website/src/platform-integration/android/splash-screen.md",
"repo_id": "website",
"token_count": 2407
} | 1,285 |
---
title: Building Linux apps with Flutter
description: Platform-specific considerations for building for Linux with Flutter.
toc: true
short-title: Linux development
---
This page discusses considerations unique to building
Linux apps with Flutter, including shell integration
and preparation of apps for distribution... | website/src/platform-integration/linux/building.md/0 | {
"file_path": "website/src/platform-integration/linux/building.md",
"repo_id": "website",
"token_count": 859
} | 1,286 |
---
title: Web support for Flutter
short-title: Web
description: Details of how Flutter supports the creation of web experiences.
---
Flutter's web support delivers the same experiences on the web as on mobile.
Building on the portability of Dart, the power of the web platform and the
flexibility of the Flutter framew... | website/src/platform-integration/web/index.md/0 | {
"file_path": "website/src/platform-integration/web/index.md",
"repo_id": "website",
"token_count": 1052
} | 1,287 |
---
layout: toc
title: Windows
description: Content covering integration with Windows in Flutter apps.
---
| website/src/platform-integration/windows/index.md/0 | {
"file_path": "website/src/platform-integration/windows/index.md",
"repo_id": "website",
"token_count": 26
} | 1,288 |
---
title: Deprecated API removed after v2.2
description: >
After reaching end of life, the following deprecated APIs
were removed from Flutter.
---
## Summary
In accordance with Flutter's [Deprecation Policy][],
deprecated APIs that reached end of life after the
2.2 stable release have been removed.
All affecte... | website/src/release/breaking-changes/2-2-deprecations.md/0 | {
"file_path": "website/src/release/breaking-changes/2-2-deprecations.md",
"repo_id": "website",
"token_count": 2528
} | 1,289 |
---
title: Android v1 embedding app and plugin creation deprecation
description: Gradual deprecation of the Android v1 embedding.
---
## Summary
The `flutter create` templates for apps and plugins
no longer create Android wrapping based on the
v1 Android embedding as part of our gradual
Android v1 embedding deprecati... | website/src/release/breaking-changes/android-v1-embedding-create-deprecation.md/0 | {
"file_path": "website/src/release/breaking-changes/android-v1-embedding-create-deprecation.md",
"repo_id": "website",
"token_count": 775
} | 1,290 |
---
title: New Buttons and Button Themes
description: The basic material button classes have been replaced.
---
## Summary
A new set of basic material button widgets and themes have been added
to Flutter. The original classes have been deprecated and will
eventually be removed. The overall goal is to make buttons mor... | website/src/release/breaking-changes/buttons.md/0 | {
"file_path": "website/src/release/breaking-changes/buttons.md",
"repo_id": "website",
"token_count": 6680
} | 1,291 |
---
title: TextField FocusNode attach location change
description: >
EditableText.focusNode is no longer attached to
EditableTextState's BuildContext.
---
## Summary
`EditableText.focusNode` is now attached to
a dedicated `Focus` widget below `EditableText`.
## Context
A text input field widget (`TextField`, fo... | website/src/release/breaking-changes/editable-text-focus-attachment.md/0 | {
"file_path": "website/src/release/breaking-changes/editable-text-focus-attachment.md",
"repo_id": "website",
"token_count": 1104
} | 1,292 |
---
title: ImageCache large images
description: >
Stop increasing the ImageCache maxByteSize to accommodate large images.
---
## Summary
The `maxByteSize` of the `ImageCache` is no longer
automatically made larger to accommodate large images.
## Context
Previously, when loading images into the `ImageCache`
that h... | website/src/release/breaking-changes/imagecache-large-images.md/0 | {
"file_path": "website/src/release/breaking-changes/imagecache-large-images.md",
"repo_id": "website",
"token_count": 881
} | 1,293 |
---
title: Default multitouch scrolling
description: >
ScrollBehaviors will now configure how Scrollables respond to
multitouch gestures.
---
## Summary
`ScrollBehavior`s now allow or disallow scrolling speeds to be affected by the
number of pointers on the screen. `ScrollBehavior.multitouchDragStrategy`, by
def... | website/src/release/breaking-changes/multi-touch-scrolling.md/0 | {
"file_path": "website/src/release/breaking-changes/multi-touch-scrolling.md",
"repo_id": "website",
"token_count": 1554
} | 1,294 |
---
title: Migration guide for `RouteInformation.location`
description: Deprecation of `RouteInformation.location` and its related APIs.
---
## Summary
`RouteInformation.location` and related APIs were deprecated
in the favor of `RouteInformation.uri`.
## Context
The [`RouteInformation`][] needs the authority infor... | website/src/release/breaking-changes/route-information-uri.md/0 | {
"file_path": "website/src/release/breaking-changes/route-information-uri.md",
"repo_id": "website",
"token_count": 798
} | 1,295 |
---
title: TextField requires a MaterialLocalizations widget
description: >
TextField now throws an assert error if there is
no MaterialLocalizations widget in the widget tree.
---
## Summary
Instances of `TextField` must have a
`MaterialLocalizations` present in the widget tree.
Trying to instantiate a `TextFiel... | website/src/release/breaking-changes/text-field-material-localizations.md/0 | {
"file_path": "website/src/release/breaking-changes/text-field-material-localizations.md",
"repo_id": "website",
"token_count": 1239
} | 1,296 |
---
title: Flutter compatibility policy
description: How Flutter approaches the question of breaking changes.
---
The Flutter team tries to balance the need for API stability with the
need to keep evolving APIs to fix bugs, improve API ergonomics,
and provide new features in a coherent manner.
To this end, we have cr... | website/src/release/compatibility-policy.md/0 | {
"file_path": "website/src/release/compatibility-policy.md",
"repo_id": "website",
"token_count": 709
} | 1,297 |
---
title: Flutter 1.9.1 release notes
short-title: 1.9.1 release notes
description: Release notes for Flutter 1.9.1.
---
Hello and welcome to another stable release of Flutter. So far this year, we've been right on target with one stable release each quarter, as per [our plan](https://github.com/flutter/flutter/wiki/... | website/src/release/release-notes/release-notes-1.9.1.md/0 | {
"file_path": "website/src/release/release-notes/release-notes-1.9.1.md",
"repo_id": "website",
"token_count": 22069
} | 1,298 |
---
layout: null
sitemap: false
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% assign... | website/src/sitemap.xml/0 | {
"file_path": "website/src/sitemap.xml",
"repo_id": "website",
"token_count": 492
} | 1,299 |
---
title: Using the CPU profiler view
description: Learn how to use the DevTools CPU profiler view.
---
{{site.alert.note}}
The CPU profiler view works with Dart CLI and mobile apps only.
Use Chrome DevTools to [analyze performance][]
of a web app.
{{site.alert.end}}
The CPU profiler view allows you to recor... | website/src/tools/devtools/cpu-profiler.md/0 | {
"file_path": "website/src/tools/devtools/cpu-profiler.md",
"repo_id": "website",
"token_count": 422
} | 1,300 |
# DevTools 2.14.0 release notes
The 2.14.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).
## General updates
* Added a link to the new DevTools... | website/src/tools/devtools/release-notes/release-notes-2.14.0-src.md/0 | {
"file_path": "website/src/tools/devtools/release-notes/release-notes-2.14.0-src.md",
"repo_id": "website",
"token_count": 753
} | 1,301 |
# DevTools 2.22.2 release notes
The 2.22.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
- Prevent crashes if there is no m... | website/src/tools/devtools/release-notes/release-notes-2.22.2-src.md/0 | {
"file_path": "website/src/tools/devtools/release-notes/release-notes-2.22.2-src.md",
"repo_id": "website",
"token_count": 801
} | 1,302 |
# DevTools 2.28.3 release notes
The 2.28.3 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).
This was a cherry-pick release on top of DevTools 2.28... | website/src/tools/devtools/release-notes/release-notes-2.28.3-src.md/0 | {
"file_path": "website/src/tools/devtools/release-notes/release-notes-2.28.3-src.md",
"repo_id": "website",
"token_count": 479
} | 1,303 |
# DevTools 2.7.0 release notes
The 2.7.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).
## General updates
* Improvements for initial page load... | website/src/tools/devtools/release-notes/release-notes-2.7.0-src.md/0 | {
"file_path": "website/src/tools/devtools/release-notes/release-notes-2.7.0-src.md",
"repo_id": "website",
"token_count": 827
} | 1,304 |
---
title: Visual Studio Code
short-title: VS Code
description: How to develop Flutter apps in Visual Studio Code.
---
<ul class="nav nav-tabs" id="ide" role="tablist">
<li class="nav-item">
<a class="nav-link" href="/tools/android-studio" role="tab" aria-selected="false">Android Studio and IntelliJ</a>
</li>
... | website/src/tools/vs-code.md/0 | {
"file_path": "website/src/tools/vs-code.md",
"repo_id": "website",
"token_count": 3804
} | 1,305 |
---
title: Material Design for Flutter
description: Learn about Material Design for Flutter.
---
Material Design is an open-source design system built
and supported by Google designers and developers.
The latest version, Material 3, enables personal,
adaptive, and expressive experiences—from dynamic color
and enhance... | website/src/ui/design/material/index.md/0 | {
"file_path": "website/src/ui/design/material/index.md",
"repo_id": "website",
"token_count": 658
} | 1,306 |
---
title: Scrolling
description: Overview of Flutter's scrolling support
---
Flutter has many built-in widgets that automatically
scroll and also offers a variety of widgets
that you can customize to create specific scrolling
behavior.
## Basic scrolling
Many Flutter widgets support scrolling out of the box
and do ... | website/src/ui/layout/scrolling/index.md/0 | {
"file_path": "website/src/ui/layout/scrolling/index.md",
"repo_id": "website",
"token_count": 1143
} | 1,307 |
---
title: Material Components widgets
short-title: Material
description: >
A catalog of Flutter's widgets implementing Material 3 design guidelines.
---
{% include docs/catalogpage-material.html category="Material components" %}
| website/src/ui/widgets/material.md/0 | {
"file_path": "website/src/ui/widgets/material.md",
"repo_id": "website",
"token_count": 57
} | 1,308 |
// 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:path/path.dart' as path;
import '../utils.dart';
final class TestDartComman... | website/tool/flutter_site/lib/src/commands/test_dart.dart/0 | {
"file_path": "website/tool/flutter_site/lib/src/commands/test_dart.dart",
"repo_id": "website",
"token_count": 904
} | 1,309 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/adaptive_app/step_05/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/adaptive_app/step_05/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 0 |
include: ../../analysis_options.yaml
| codelabs/animated-responsive-layout/step_03/analysis_options.yaml/0 | {
"file_path": "codelabs/animated-responsive-layout/step_03/analysis_options.yaml",
"repo_id": "codelabs",
"token_count": 12
} | 1 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/animated-responsive-layout/step_05/macos/Flutter/Flutter-Release.xcconfig/0 | {
"file_path": "codelabs/animated-responsive-layout/step_05/macos/Flutter/Flutter-Release.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 2 |
// 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 '../models/data.dart' as data;
import '../models/models.dart';
import 'email_widget.dart';
import 'search_b... | codelabs/animated-responsive-layout/step_06/lib/widgets/email_list_view.dart/0 | {
"file_path": "codelabs/animated-responsive-layout/step_06/lib/widgets/email_list_view.dart",
"repo_id": "codelabs",
"token_count": 715
} | 3 |
// 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 AnimatedFloatingActionButton extends StatefulWidget {
cons... | codelabs/animated-responsive-layout/step_07/lib/widgets/animated_floating_action_button.dart/0 | {
"file_path": "codelabs/animated-responsive-layout/step_07/lib/widgets/animated_floating_action_button.dart",
"repo_id": "codelabs",
"token_count": 563
} | 4 |
include: ../../analysis_options.yaml
| codelabs/boring_to_beautiful/final/analysis_options.yaml/0 | {
"file_path": "codelabs/boring_to_beautiful/final/analysis_options.yaml",
"repo_id": "codelabs",
"token_count": 12
} | 5 |
include: ../../analysis_options.yaml
| codelabs/boring_to_beautiful/step_02/analysis_options.yaml/0 | {
"file_path": "codelabs/boring_to_beautiful/step_02/analysis_options.yaml",
"repo_id": "codelabs",
"token_count": 12
} | 6 |
include: ../../analysis_options.yaml
| codelabs/boring_to_beautiful/step_04/analysis_options.yaml/0 | {
"file_path": "codelabs/boring_to_beautiful/step_04/analysis_options.yaml",
"repo_id": "codelabs",
"token_count": 12
} | 7 |
include: ../../analysis_options.yaml
| codelabs/boring_to_beautiful/step_06/analysis_options.yaml/0 | {
"file_path": "codelabs/boring_to_beautiful/step_06/analysis_options.yaml",
"repo_id": "codelabs",
"token_count": 12
} | 8 |
import 'dart:async';
import 'package:flame/components.dart';
import 'package:flutter/material.dart';
import '../brick_breaker.dart';
class PlayArea extends RectangleComponent with HasGameReference<BrickBreaker> {
PlayArea()
: super(
paint: Paint()..color = const Color(0xfff2e8cf),
);
@ov... | codelabs/brick_breaker/step_04/lib/src/components/play_area.dart/0 | {
"file_path": "codelabs/brick_breaker/step_04/lib/src/components/play_area.dart",
"repo_id": "codelabs",
"token_count": 168
} | 9 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/brick_breaker/step_04/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/brick_breaker/step_04/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 10 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/dart-patterns-and-records/step_04/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_04/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 11 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/dart-patterns-and-records/step_06_b/android/gradle.properties/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_06_b/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 12 |
#include "Generated.xcconfig"
| codelabs/dart-patterns-and-records/step_08/ios/Flutter/Release.xcconfig/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_08/ios/Flutter/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 13 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/dart-patterns-and-records/step_08/macos/Flutter/Flutter-Debug.xcconfig/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_08/macos/Flutter/Flutter-Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 14 |
#import "GeneratedPluginRegistrant.h"
| codelabs/dart-patterns-and-records/step_09/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_09/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 15 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/dart-patterns-and-records/step_10/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_10/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 16 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/dart-patterns-and-records/step_12/android/gradle.properties/0 | {
"file_path": "codelabs/dart-patterns-and-records/step_12/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 17 |
import 'package:flutter_test/flutter_test.dart';
void main() {
test('empty test to pass ci', () {});
}
| codelabs/deeplink_cookbook/test/widget_test.dart/0 | {
"file_path": "codelabs/deeplink_cookbook/test/widget_test.dart",
"repo_id": "codelabs",
"token_count": 40
} | 18 |
rootProject.name = 'ffigen_app'
| codelabs/ffigen_codelab/step_03/android/settings.gradle/0 | {
"file_path": "codelabs/ffigen_codelab/step_03/android/settings.gradle",
"repo_id": "codelabs",
"token_count": 12
} | 19 |
import 'package:flutter/material.dart';
import 'dart:async';
import 'package:ffigen_app/ffigen_app.dart' as ffigen_app;
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends St... | codelabs/ffigen_codelab/step_03/example/lib/main.dart/0 | {
"file_path": "codelabs/ffigen_codelab/step_03/example/lib/main.dart",
"repo_id": "codelabs",
"token_count": 1097
} | 20 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/ffigen_codelab/step_03/example/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/ffigen_codelab/step_03/example/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 21 |
import 'package:flutter/material.dart';
import 'home.dart';
class AuthGate extends StatelessWidget {
const AuthGate({super.key});
@override
Widget build(BuildContext context) {
return const HomeScreen();
}
}
| codelabs/firebase-auth-flutterfire-ui/start/lib/auth_gate.dart/0 | {
"file_path": "codelabs/firebase-auth-flutterfire-ui/start/lib/auth_gate.dart",
"repo_id": "codelabs",
"token_count": 72
} | 22 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/firebase-emulator-suite/complete/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/firebase-emulator-suite/complete/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 23 |
#include "Generated.xcconfig"
| codelabs/firebase-emulator-suite/start/ios/Flutter/Release.xcconfig/0 | {
"file_path": "codelabs/firebase-emulator-suite/start/ios/Flutter/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 24 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/firebase-emulator-suite/start/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/firebase-emulator-suite/start/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 25 |
name: Get to know Firebase with Flutter
steps:
- name: step_02
steps:
- name: Remove generated code
rmdir: step_02
- name: Create project
flutter: create gtk_flutter --platforms=ios,android,web,macos
- name: Strip DEVELOPMENT_TEAM
strip-lines-containing: DEVELOPMENT_TEAM ... | codelabs/firebase-get-to-know-flutter/codelab_rebuild.yaml/0 | {
"file_path": "codelabs/firebase-get-to-know-flutter/codelab_rebuild.yaml",
"repo_id": "codelabs",
"token_count": 129559
} | 26 |
// 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:async';
import 'package:flutter/material.dart';
import 'src/widgets.dart';
class GuestBook extends StatefulWidget {
const GuestBook({requ... | codelabs/firebase-get-to-know-flutter/step_06/lib/guest_book.dart/0 | {
"file_path": "codelabs/firebase-get-to-know-flutter/step_06/lib/guest_book.dart",
"repo_id": "codelabs",
"token_count": 932
} | 27 |
#!/usr/bin/env bash
set -e -o pipefail
DIR="${BASH_SOURCE%/*}"
source "$DIR/flutter_ci_script_shared.sh"
declare -a CODELABS=(
"adaptive_app"
"animated-responsive-layout"
"boring_to_beautiful"
"brick_breaker"
"cookbook"
"dart-patterns-and-records"
"deeplink_cookbook"
"ffigen_codelab"
"firebase-auth... | codelabs/flutter_ci_script_stable.sh/0 | {
"file_path": "codelabs/flutter_ci_script_stable.sh",
"repo_id": "codelabs",
"token_count": 338
} | 28 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| codelabs/homescreen_codelab/step_04/android/gradle.properties/0 | {
"file_path": "codelabs/homescreen_codelab/step_04/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 31
} | 29 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
... | codelabs/in_app_purchases/complete/app/ios/Runner/Info-Release.plist/0 | {
"file_path": "codelabs/in_app_purchases/complete/app/ios/Runner/Info-Release.plist",
"repo_id": "codelabs",
"token_count": 782
} | 30 |
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../logic/firebase_notifier.dart';
class LoginPage extends StatelessWidget {
const LoginPage({super.key});
@override
Widget build(BuildContext context) {
var firebaseNotifier = context.watch<FirebaseNotifier>();
if... | codelabs/in_app_purchases/complete/app/lib/pages/login_page.dart/0 | {
"file_path": "codelabs/in_app_purchases/complete/app/lib/pages/login_page.dart",
"repo_id": "codelabs",
"token_count": 234
} | 31 |
import 'package:googleapis/firestore/v1.dart';
import 'products.dart';
enum IAPSource {
googleplay,
appstore,
}
abstract class Purchase {
final IAPSource iapSource;
final String orderId;
final String productId;
final String? userId;
final DateTime purchaseDate;
final ProductType type;
const Purcha... | codelabs/in_app_purchases/complete/dart-backend/lib/iap_repository.dart/0 | {
"file_path": "codelabs/in_app_purchases/complete/dart-backend/lib/iap_repository.dart",
"repo_id": "codelabs",
"token_count": 2640
} | 32 |
import 'dart:async';
import 'package:app_store_server_sdk/app_store_server_sdk.dart';
import 'constants.dart';
import 'iap_repository.dart';
import 'products.dart';
import 'purchase_handler.dart';
class AppStorePurchaseHandler extends PurchaseHandler {
final IapRepository iapRepository;
AppStorePurchaseHandler(... | codelabs/in_app_purchases/step_09/dart-backend/lib/app_store_purchase_handler.dart/0 | {
"file_path": "codelabs/in_app_purchases/step_09/dart-backend/lib/app_store_purchase_handler.dart",
"repo_id": "codelabs",
"token_count": 1263
} | 33 |
#include "Generated.xcconfig"
| codelabs/namer/step_04_a_widget/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "codelabs/namer/step_04_a_widget/ios/Flutter/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 34 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/namer/step_04_a_widget/macos/Flutter/Flutter-Debug.xcconfig/0 | {
"file_path": "codelabs/namer/step_04_a_widget/macos/Flutter/Flutter-Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 35 |
#import "GeneratedPluginRegistrant.h"
| codelabs/namer/step_04_b_behavior/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/namer/step_04_b_behavior/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 36 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/namer/step_04_b_behavior/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/namer/step_04_b_behavior/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 37 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/namer/step_05_h_center_horizontal/android/gradle.properties/0 | {
"file_path": "codelabs/namer/step_05_h_center_horizontal/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 38 |
#include "Generated.xcconfig"
| codelabs/namer/step_06_a_business_logic/ios/Flutter/Release.xcconfig/0 | {
"file_path": "codelabs/namer/step_06_a_business_logic/ios/Flutter/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 39 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/namer/step_06_a_business_logic/macos/Flutter/Flutter-Release.xcconfig/0 | {
"file_path": "codelabs/namer/step_06_a_business_logic/macos/Flutter/Flutter-Release.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 40 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/namer/step_06_b_add_row/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/namer/step_06_b_add_row/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 41 |
#include "Generated.xcconfig"
| codelabs/namer/step_07_c_add_selectedindex/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "codelabs/namer/step_07_c_add_selectedindex/ios/Flutter/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 42 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/namer/step_07_c_add_selectedindex/macos/Flutter/Flutter-Debug.xcconfig/0 | {
"file_path": "codelabs/namer/step_07_c_add_selectedindex/macos/Flutter/Flutter-Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 43 |
#import "GeneratedPluginRegistrant.h"
| codelabs/namer/step_07_d_use_selectedindex/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/namer/step_07_d_use_selectedindex/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 44 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/namer/step_07_d_use_selectedindex/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/namer/step_07_d_use_selectedindex/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 45 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/next-gen-ui/step_02_c/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/next-gen-ui/step_02_c/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 46 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/next-gen-ui/step_04_e/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/next-gen-ui/step_04_e/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 47 |
include: ../../analysis_options.yaml
| codelabs/testing_codelab/step_04/analysis_options.yaml/0 | {
"file_path": "codelabs/testing_codelab/step_04/analysis_options.yaml",
"repo_id": "codelabs",
"token_count": 12
} | 48 |
#import "GeneratedPluginRegistrant.h"
| codelabs/testing_codelab/step_08/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/testing_codelab/step_08/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 49 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| codelabs/tfagents-flutter/step3/frontend/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "codelabs/tfagents-flutter/step3/frontend/macos/Runner/Configs/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 50 |
#include "Generated.xcconfig"
| codelabs/tfagents-flutter/step4/frontend/ios/Flutter/Release.xcconfig/0 | {
"file_path": "codelabs/tfagents-flutter/step4/frontend/ios/Flutter/Release.xcconfig",
"repo_id": "codelabs",
"token_count": 12
} | 51 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/tfagents-flutter/step4/frontend/macos/Flutter/Flutter-Release.xcconfig/0 | {
"file_path": "codelabs/tfagents-flutter/step4/frontend/macos/Flutter/Flutter-Release.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 52 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| codelabs/tfagents-flutter/step6/frontend/android/gradle.properties/0 | {
"file_path": "codelabs/tfagents-flutter/step6/frontend/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 31
} | 53 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| codelabs/tfrs-flutter/finished/frontend/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "codelabs/tfrs-flutter/finished/frontend/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 32
} | 54 |
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
| codelabs/tfrs-flutter/step0/frontend/android/gradle.properties/0 | {
"file_path": "codelabs/tfrs-flutter/step0/frontend/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 31
} | 55 |
#include "ephemeral/Flutter-Generated.xcconfig"
| codelabs/tfrs-flutter/step4/frontend/macos/Flutter/Flutter-Debug.xcconfig/0 | {
"file_path": "codelabs/tfrs-flutter/step4/frontend/macos/Flutter/Flutter-Debug.xcconfig",
"repo_id": "codelabs",
"token_count": 19
} | 56 |
///
// Generated code. Do not modify.
// source: tensorflow/core/example/feature.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields... | codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/example/feature.pbjson.dart/0 | {
"file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/example/feature.pbjson.dart",
"repo_id": "codelabs",
"token_count": 2803
} | 57 |
///
// Generated code. Do not modify.
// source: tensorflow/core/framework/op_def.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_field... | codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/framework/op_def.pb.dart/0 | {
"file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/framework/op_def.pb.dart",
"repo_id": "codelabs",
"token_count": 11799
} | 58 |
///
// Generated code. Do not modify.
// source: tensorflow/core/framework/variable.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fie... | codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/framework/variable.pbenum.dart/0 | {
"file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow/core/framework/variable.pbenum.dart",
"repo_id": "codelabs",
"token_count": 1583
} | 59 |
///
// Generated code. Do not modify.
// source: tensorflow_serving/apis/model.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
... | codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow_serving/apis/model.pb.dart/0 | {
"file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/generated/tensorflow_serving/apis/model.pb.dart",
"repo_id": "codelabs",
"token_count": 2051
} | 60 |
// Protocol messages for describing features for machine learning model
// training or inference.
//
// There are three base Feature types:
// - bytes
// - float
// - int64
//
// A Feature contains Lists which may hold zero or more values. These
// lists are the base values BytesList, FloatList, Int64List.
//
//... | codelabs/tfserving-flutter/codelab2/starter/lib/proto/tensorflow/core/example/feature.proto/0 | {
"file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/tensorflow/core/example/feature.proto",
"repo_id": "codelabs",
"token_count": 931
} | 61 |
syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/tensor.proto";
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/types.proto";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// `StructuredVa... | codelabs/tfserving-flutter/codelab2/starter/lib/proto/tensorflow/core/protobuf/struct.proto/0 | {
"file_path": "codelabs/tfserving-flutter/codelab2/starter/lib/proto/tensorflow/core/protobuf/struct.proto",
"repo_id": "codelabs",
"token_count": 1983
} | 62 |
// 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:convert';
import 'dart:io';
import 'package:args/args.dart';
import 'package:claat_export_images/claat_export_images.dart';
import 'package:claa... | codelabs/tooling/claat_export_images/bin/claat_export_images.dart/0 | {
"file_path": "codelabs/tooling/claat_export_images/bin/claat_export_images.dart",
"repo_id": "codelabs",
"token_count": 1170
} | 63 |
include: ../../analysis_options.yaml
| codelabs/webview_flutter/step_03/analysis_options.yaml/0 | {
"file_path": "codelabs/webview_flutter/step_03/analysis_options.yaml",
"repo_id": "codelabs",
"token_count": 12
} | 64 |
// 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 'package:webview_flutter/webview_flutter.dart';
class WebViewStack extends StatefulWidget {
const WebView... | codelabs/webview_flutter/step_06/lib/src/web_view_stack.dart/0 | {
"file_path": "codelabs/webview_flutter/step_06/lib/src/web_view_stack.dart",
"repo_id": "codelabs",
"token_count": 578
} | 65 |
#import "GeneratedPluginRegistrant.h"
| codelabs/webview_flutter/step_08/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "codelabs/webview_flutter/step_08/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "codelabs",
"token_count": 13
} | 66 |
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
| codelabs/webview_flutter/step_11/android/gradle.properties/0 | {
"file_path": "codelabs/webview_flutter/step_11/android/gradle.properties",
"repo_id": "codelabs",
"token_count": 30
} | 67 |
* @flutter/devtools-reviewers
# Inspector Files
inspector/ @CoderDake
# Network Files
network/ @kenzieschmoll @bkonyi
# Performance Files
performance/ @kenzieschmoll
# CPU Profiler files
profiler/ @kenzieschmoll
# Memory files
memory/ @bkonyi @poli... | devtools/CODEOWNERS/0 | {
"file_path": "devtools/CODEOWNERS",
"repo_id": "devtools",
"token_count": 342
} | 68 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.