From 56bf76f2f091735a2140a85d954ae850c26309f8 Mon Sep 17 00:00:00 2001 From: Andy Wolff Date: Thu, 23 Apr 2026 11:10:53 -0700 Subject: [PATCH] Add copyright to source files in simple_shader and simple_sdf (#2837) @gaaclarke noticed the copyright was missing from the top of these files, so this PR adds them. ## Pre-launch Checklist - [x] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I read the [Contributors Guide]. - [ ] I have added sample code updates to the [changelog]. - [x] I updated/added relevant documentation (doc comments with `///`). If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. [Flutter Style Guide]: https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md [changelog]: ../CHANGELOG.md --- simple_sdf/lib/main.dart | 4 ++++ simple_sdf/shaders/SDF.frag | 4 ++++ simple_sdf/test/widget_test.dart | 4 ++++ simple_shader/lib/main.dart | 4 ++++ simple_shader/shaders/simple.frag | 4 ++++ simple_shader/test/widget_test.dart | 4 ++++ 6 files changed, 24 insertions(+) diff --git a/simple_sdf/lib/main.dart b/simple_sdf/lib/main.dart index 4a1bf38c4..214c68783 100644 --- a/simple_sdf/lib/main.dart +++ b/simple_sdf/lib/main.dart @@ -1,3 +1,7 @@ +// Copyright 2024 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:ui' as ui; import 'package:flutter/material.dart'; diff --git a/simple_sdf/shaders/SDF.frag b/simple_sdf/shaders/SDF.frag index 327222662..e854a2272 100644 --- a/simple_sdf/shaders/SDF.frag +++ b/simple_sdf/shaders/SDF.frag @@ -1,3 +1,7 @@ +// Copyright 2024 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. + #version 460 core #include diff --git a/simple_sdf/test/widget_test.dart b/simple_sdf/test/widget_test.dart index 794023811..50e51b28c 100644 --- a/simple_sdf/test/widget_test.dart +++ b/simple_sdf/test/widget_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 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 'package:flutter_test/flutter_test.dart'; import 'package:simple_sdf/main.dart'; diff --git a/simple_shader/lib/main.dart b/simple_shader/lib/main.dart index e314f91bf..dea7caa88 100644 --- a/simple_shader/lib/main.dart +++ b/simple_shader/lib/main.dart @@ -1,3 +1,7 @@ +// Copyright 2024 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:ui' as ui; import 'package:flutter/material.dart'; diff --git a/simple_shader/shaders/simple.frag b/simple_shader/shaders/simple.frag index 20075c9ee..8ca802f04 100644 --- a/simple_shader/shaders/simple.frag +++ b/simple_shader/shaders/simple.frag @@ -1,3 +1,7 @@ +// Copyright 2024 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. + #version 460 core #include diff --git a/simple_shader/test/widget_test.dart b/simple_shader/test/widget_test.dart index 97c66d107..8b876a5ef 100644 --- a/simple_shader/test/widget_test.dart +++ b/simple_shader/test/widget_test.dart @@ -1,3 +1,7 @@ +// Copyright 2024 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 'package:flutter_test/flutter_test.dart'; import 'package:simple_shader/main.dart';