Skip to content

Commit

Permalink
license update - batch 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mossmana committed Jan 7, 2025
1 parent dcec8dd commit bb47caf
Show file tree
Hide file tree
Showing 48 changed files with 178 additions and 0 deletions.
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()) {
Expand Down
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
Expand Down
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
Expand Down
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">
Expand Down
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 -->
Expand Down
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
Expand Down
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 {
Expand Down
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")
Expand Down
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

Expand Down
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" : [
{
Expand Down
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" : [
{
Expand Down
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.
Expand Down
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 {
Expand Down
3 changes: 3 additions & 0 deletions case_study/code_size/optimized/code_size_images/lib/main.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.
import 'package:flutter/material.dart';

import 'animals.dart';
Expand Down
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.
//
Expand Down
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

Expand Down
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" : [
{
Expand Down
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

Expand Down
3 changes: 3 additions & 0 deletions case_study/code_size/optimized/code_size_images/pubspec.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.
name: code_size_images
description: A Flutter project demonstrating code size issues with images.
publish_to: none
Expand Down
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
Expand Down
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>
Expand Down
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",
Expand Down
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()) {
Expand Down
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
Expand Down
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
Expand Down
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">
Expand Down
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 -->
Expand Down
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
Expand Down
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 {
Expand Down
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")
Expand Down
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

Expand Down
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" : [
{
Expand Down
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" : [
{
Expand Down
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.
Expand Down
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';

Expand Down
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.
//
Expand Down
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

Expand Down
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" : [
{
Expand Down
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

Expand Down
3 changes: 3 additions & 0 deletions case_study/code_size/optimized/code_size_package/pubspec.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.
name: code_size_package
description: A Flutter project demonstrating code size issues with packages.
publish_to: none
Expand Down
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
Expand Down
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>
Expand Down
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_package",
"short_name": "code_size_package",
Expand Down

0 comments on commit bb47caf

Please sign in to comment.