From 213559d95869ee5f978cac240db84e378b0c2a5a Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Tue, 1 Nov 2022 08:38:55 +0100 Subject: [PATCH] Add BSD-3-Clause license --- LICENSE | 10 +++++++++- example/lib/main.dart | 4 ++++ example/test/widget_test.dart | 4 +++- lib/single_character_input.dart | 4 ++++ lib/src/input_character.dart | 4 ++++ lib/src/single_character_input.dart | 4 ++++ test/single_character_input_test.dart | 4 ++++ 7 files changed, 32 insertions(+), 2 deletions(-) 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 33bd3a6..cdabf08 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:flutter/material.dart'; import 'package:flutter_single_character_input/single_character_input.dart'; diff --git a/example/test/widget_test.dart b/example/test/widget_test.dart index 8b13789..4ab3405 100644 --- a/example/test/widget_test.dart +++ b/example/test/widget_test.dart @@ -1 +1,3 @@ - +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause diff --git a/lib/single_character_input.dart b/lib/single_character_input.dart index 619d3b8..bebdfef 100644 --- a/lib/single_character_input.dart +++ b/lib/single_character_input.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + library single_character_input; export 'src/input_character.dart'; diff --git a/lib/src/input_character.dart b/lib/src/input_character.dart index 8d51953..c669b63 100644 --- a/lib/src/input_character.dart +++ b/lib/src/input_character.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; class InputCharacter { diff --git a/lib/src/single_character_input.dart b/lib/src/single_character_input.dart index 65f0e19..69571b3 100644 --- a/lib/src/single_character_input.dart +++ b/lib/src/single_character_input.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'dart:math'; import 'package:flutter/material.dart'; diff --git a/test/single_character_input_test.dart b/test/single_character_input_test.dart index fe61a56..c62bf12 100644 --- a/test/single_character_input_test.dart +++ b/test/single_character_input_test.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter_test/flutter_test.dart'; void main() {