Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License update - Batch 3 #8671

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions BETA_TESTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
# Build DevTools

This page describes the fastest way to build DevTools with the goal to use it. Do not mix this setup with development environment. If you want to make code changes, follow [contributing guidance](https://github.com/flutter/devtools/blob/master/CONTRIBUTING.md).
5 changes: 5 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
# Code of conduct

When contributing code to the `devtools` project, please observe
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
# Contributing to DevTools

![GitHub contributors](https://img.shields.io/github/contributors/flutter/devtools.svg)
5 changes: 5 additions & 0 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
## DevTools Documentation - How To Guide

The documentation for Dart & Flutter DevTools lives on [flutter.dev](https://docs.flutter.dev/tools/devtools).
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
# Dart & Flutter DevTools

[![Build Status](https://github.com/flutter/devtools/workflows/devtools/badge.svg)](https://github.com/flutter/devtools/actions)
5 changes: 5 additions & 0 deletions STYLE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
# DevTools style guide

We fully follow [Effective Dart](https://dart.dev/effective-dart)
5 changes: 5 additions & 0 deletions TESTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
# Testing for DevTools

DevTools is test covered by multiple types of tests, all of which are run on the CI for each DevTools PR / commit:
5 changes: 5 additions & 0 deletions TRIAGE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
# Triage

## The Process
3 changes: 3 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2025 The Flutter Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
include: package:flutter_lints/flutter.yaml

analyzer:
5 changes: 5 additions & 0 deletions case_study/code_size/optimized/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
This directory holds optimized versions of the applications in
`case_study/code_size/unoptimized/`.
5 changes: 5 additions & 0 deletions case_study/code_size/optimized/code_size_images/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
# code_size_images

A Flutter project demonstrating code size issues with images
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.code_size_images">
<!-- Flutter needs it to communicate with the running application
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.code_size_images">
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting -->
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.code_size_images">
<!-- Flutter needs it to communicate with the running application
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
buildscript {
ext.kotlin_version = '1.3.50'
repositories {
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
include ':app'

def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
import UIKit
import Flutter

Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
{
"images" : [
{
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
{
"images" : [
{
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
# Launch Screen Assets

You can customize the launch screen with your own desired assets by replacing the image files in this directory.
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
#import "GeneratedPluginRegistrant.h"
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
import 'package:flutter/material.dart';

class Animals extends StatelessWidget {
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
import 'package:flutter/material.dart';

import 'animals.dart';
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
//
// Generated file. Do not edit.
//
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
import Cocoa
import FlutterMacOS

Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
{
"images" : [
{
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
import Cocoa
import FlutterMacOS

Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2025 The Flutter Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
name: code_size_images
description: A Flutter project demonstrating code size issues with images.
publish_to: none
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
<!DOCTYPE html>
<html>
<head>
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
{
"name": "code_size_images",
"short_name": "code_size_images",
5 changes: 5 additions & 0 deletions case_study/code_size/optimized/code_size_package/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
# code_size_package

A Flutter project demonstrating code size issues with packages.
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.code_size_package">
<!-- Flutter needs it to communicate with the running application
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.code_size_package">
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting -->
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.code_size_package">
<!-- Flutter needs it to communicate with the running application
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
buildscript {
ext.kotlin_version = '1.3.50'
repositories {
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
include ':app'

def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
import UIKit
import Flutter

Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
{
"images" : [
{
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
{
"images" : [
{
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright 2025 The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
# Launch Screen Assets

You can customize the launch screen with your own desired assets by replacing the image files in this directory.
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
#import "GeneratedPluginRegistrant.h"
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
import 'dart:convert';
import 'dart:typed_data';

Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
//
// Generated file. Do not edit.
//
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2025 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
import Cocoa
import FlutterMacOS

Loading