From b16bcf548f3c5d8aba0c1af3ca4b9e9375b8062c Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Tue, 1 Nov 2022 08:20:01 +0100 Subject: [PATCH] Add BSD-3-Clause license --- LICENSE | 10 +++++++++- example/lib/main.dart | 4 ++++ example/lib/pokemon.dart | 4 ++++ example/lib/pokemon_card.dart | 4 ++++ lib/carousel.dart | 4 ++++ lib/src/carousel.dart | 4 ++++ lib/src/models/card_transform.dart | 4 ++++ lib/src/widgets/carousel_card.dart | 4 ++++ test/carousel_test.dart | 4 ++++ 9 files changed, 41 insertions(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index ba75c69..fe891f8 100644 --- a/LICENSE +++ b/LICENSE @@ -1 +1,9 @@ -TODO: Add your license here. +Copyright (c) 2022 Iconica, All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/example/lib/main.dart b/example/lib/main.dart index fd5e993..347c645 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:carousel/carousel.dart'; import 'package:carousel_example/pokemon.dart'; diff --git a/example/lib/pokemon.dart b/example/lib/pokemon.dart index 9322416..af885e9 100644 --- a/example/lib/pokemon.dart +++ b/example/lib/pokemon.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + class Pokemon { Pokemon({ required this.name, diff --git a/example/lib/pokemon_card.dart b/example/lib/pokemon_card.dart index 79380cd..dd3911d 100644 --- a/example/lib/pokemon_card.dart +++ b/example/lib/pokemon_card.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:carousel_example/pokemon.dart'; import 'package:flutter/material.dart'; diff --git a/lib/carousel.dart b/lib/carousel.dart index c706e69..7545a52 100644 --- a/lib/carousel.dart +++ b/lib/carousel.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + library carousel; export 'package:carousel/src/carousel.dart'; diff --git a/lib/src/carousel.dart b/lib/src/carousel.dart index e791fbf..6337b17 100644 --- a/lib/src/carousel.dart +++ b/lib/src/carousel.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:carousel/src/models/card_transform.dart'; import 'package:carousel/src/widgets/carousel_card.dart'; import 'package:flutter/gestures.dart'; diff --git a/lib/src/models/card_transform.dart b/lib/src/models/card_transform.dart index 7a5329b..94bdce8 100644 --- a/lib/src/models/card_transform.dart +++ b/lib/src/models/card_transform.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + class CardTransform { /// Used by [Carousel] to build cards on the correct position. CardTransform({ diff --git a/lib/src/widgets/carousel_card.dart b/lib/src/widgets/carousel_card.dart index 1629b1e..2efc32f 100644 --- a/lib/src/widgets/carousel_card.dart +++ b/lib/src/widgets/carousel_card.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:carousel/src/models/card_transform.dart'; import 'package:flutter/material.dart'; diff --git a/test/carousel_test.dart b/test/carousel_test.dart index 771831c..b555b89 100644 --- a/test/carousel_test.dart +++ b/test/carousel_test.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'dart:math'; import 'package:carousel/src/models/card_transform.dart';