From 490355b145be2ddae4b6de11c3a2d725c1351316 Mon Sep 17 00:00:00 2001 From: Sergey Penkovsky Date: Fri, 2 May 2025 11:53:03 +0300 Subject: [PATCH] add license info --- cherrypick_flutter/lib/cherrypick_flutter.dart | 12 ++++++++++++ cherrypick_flutter/lib/src/cherrypick_provider.dart | 13 +++++++++++++ 2 files changed, 25 insertions(+) diff --git a/cherrypick_flutter/lib/cherrypick_flutter.dart b/cherrypick_flutter/lib/cherrypick_flutter.dart index fff6e44..8085ee2 100644 --- a/cherrypick_flutter/lib/cherrypick_flutter.dart +++ b/cherrypick_flutter/lib/cherrypick_flutter.dart @@ -1,3 +1,15 @@ +/// +/// Copyright 2021 Sergey Penkovsky +/// Licensed under the Apache License, Version 2.0 (the "License"); +/// you may not use this file except in compliance with the License. +/// You may obtain a copy of the License at +/// http://www.apache.org/licenses/LICENSE-2.0 +/// Unless required by applicable law or agreed to in writing, software +/// distributed under the License is distributed on an "AS IS" BASIS, +/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +/// See the License for the specific language governing permissions and +/// limitations under the License. +/// library cherrypick_flutter; export 'src/cherrypick_provider.dart'; diff --git a/cherrypick_flutter/lib/src/cherrypick_provider.dart b/cherrypick_flutter/lib/src/cherrypick_provider.dart index a1e2d29..392a82a 100644 --- a/cherrypick_flutter/lib/src/cherrypick_provider.dart +++ b/cherrypick_flutter/lib/src/cherrypick_provider.dart @@ -1,6 +1,19 @@ import 'package:cherrypick/cherrypick.dart'; import 'package:flutter/widgets.dart'; +/// +/// Copyright 2021 Sergey Penkovsky +/// Licensed under the Apache License, Version 2.0 (the "License"); +/// you may not use this file except in compliance with the License. +/// You may obtain a copy of the License at +/// http://www.apache.org/licenses/LICENSE-2.0 +/// Unless required by applicable law or agreed to in writing, software +/// distributed under the License is distributed on an "AS IS" BASIS, +/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +/// See the License for the specific language governing permissions and +/// limitations under the License. +/// + class CherryPickProvider extends InheritedWidget { // Holds a reference to the root scope object final Scope rootScope;