From 63eb1185dde4bab4429745e6d0b0169917796f4e Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Mon, 31 Oct 2022 17:15:05 +0100 Subject: [PATCH] Add BSD-3-Clause license --- LICENSE | 9 +++++++++ example/lib/main.dart | 4 ++++ example/lib/utils/example_profile_data.dart | 4 ++++ example/lib/utils/example_profile_service.dart | 4 ++++ lib/flutter_profile.dart | 4 ++++ lib/src/models/user.dart | 4 ++++ lib/src/services/profile_service.dart | 4 ++++ lib/src/widgets/avatar/avatar.dart | 4 ++++ lib/src/widgets/avatar/avatar_style.dart | 4 ++++ lib/src/widgets/avatar/avatar_wrapper.dart | 4 ++++ lib/src/widgets/item_builder/item_builder.dart | 4 ++++ lib/src/widgets/item_builder/item_builder_options.dart | 4 ++++ lib/src/widgets/item_builder/item_list.dart | 4 ++++ lib/src/widgets/profile/profile_page.dart | 4 ++++ lib/src/widgets/profile/profile_style.dart | 4 ++++ lib/src/widgets/profile/profile_wrapper.dart | 4 ++++ test/profile_test.dart | 4 ++++ test/test_classes/test_profile_data.dart | 4 ++++ test/test_classes/test_profile_service.dart | 4 ++++ 19 files changed, 81 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..fe891f8 --- /dev/null +++ b/LICENSE @@ -0,0 +1,9 @@ +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 a2feed1..67fd26d 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 'dart:typed_data'; import 'package:example/utils/example_profile_service.dart'; diff --git a/example/lib/utils/example_profile_data.dart b/example/lib/utils/example_profile_data.dart index 5634051..ff94dcc 100644 --- a/example/lib/utils/example_profile_data.dart +++ b/example/lib/utils/example_profile_data.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_profile/flutter_profile.dart'; diff --git a/example/lib/utils/example_profile_service.dart b/example/lib/utils/example_profile_service.dart index 52139bb..48a3de1 100644 --- a/example/lib/utils/example_profile_service.dart +++ b/example/lib/utils/example_profile_service.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_profile/flutter_profile.dart'; diff --git a/lib/flutter_profile.dart b/lib/flutter_profile.dart index 66018b3..a174910 100644 --- a/lib/flutter_profile.dart +++ b/lib/flutter_profile.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + library flutter_profile; export 'src/widgets/profile/profile_page.dart'; diff --git a/lib/src/models/user.dart b/lib/src/models/user.dart index 9c2fe2d..21e7e2e 100644 --- a/lib/src/models/user.dart +++ b/lib/src/models/user.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'dart:typed_data'; import 'package:flutter/material.dart'; diff --git a/lib/src/services/profile_service.dart b/lib/src/services/profile_service.dart index a200dfc..806daec 100644 --- a/lib/src/services/profile_service.dart +++ b/lib/src/services/profile_service.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'dart:async'; import 'package:flutter/material.dart'; diff --git a/lib/src/widgets/avatar/avatar.dart b/lib/src/widgets/avatar/avatar.dart index c5effbb..1dd7620 100644 --- a/lib/src/widgets/avatar/avatar.dart +++ b/lib/src/widgets/avatar/avatar.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_profile/src/models/user.dart'; import 'package:flutter_profile/src/widgets/avatar/avatar_style.dart'; diff --git a/lib/src/widgets/avatar/avatar_style.dart b/lib/src/widgets/avatar/avatar_style.dart index df77df0..6ea9911 100644 --- a/lib/src/widgets/avatar/avatar_style.dart +++ b/lib/src/widgets/avatar/avatar_style.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; /// AvatarStyle is used to set the style of the avatar displayed at the top of the [ProfilePage]. diff --git a/lib/src/widgets/avatar/avatar_wrapper.dart b/lib/src/widgets/avatar/avatar_wrapper.dart index aa17b8a..ac875ef 100644 --- a/lib/src/widgets/avatar/avatar_wrapper.dart +++ b/lib/src/widgets/avatar/avatar_wrapper.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_profile/src/models/user.dart'; import 'package:flutter_profile/src/widgets/avatar/avatar.dart'; diff --git a/lib/src/widgets/item_builder/item_builder.dart b/lib/src/widgets/item_builder/item_builder.dart index aa67598..2d73a8a 100644 --- a/lib/src/widgets/item_builder/item_builder.dart +++ b/lib/src/widgets/item_builder/item_builder.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_profile/src/widgets/item_builder/item_builder_options.dart'; diff --git a/lib/src/widgets/item_builder/item_builder_options.dart b/lib/src/widgets/item_builder/item_builder_options.dart index 0461ea5..fc507c8 100644 --- a/lib/src/widgets/item_builder/item_builder_options.dart +++ b/lib/src/widgets/item_builder/item_builder_options.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; /// ItemBuilderOptions is a class to store all settings for a field in the profile page. diff --git a/lib/src/widgets/item_builder/item_list.dart b/lib/src/widgets/item_builder/item_list.dart index cba9d5b..85abc48 100644 --- a/lib/src/widgets/item_builder/item_list.dart +++ b/lib/src/widgets/item_builder/item_list.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_profile/src/widgets/item_builder/item_builder.dart'; import 'package:flutter_profile/src/widgets/item_builder/item_builder_options.dart'; diff --git a/lib/src/widgets/profile/profile_page.dart b/lib/src/widgets/profile/profile_page.dart index 9493418..cc98558 100644 --- a/lib/src/widgets/profile/profile_page.dart +++ b/lib/src/widgets/profile/profile_page.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_profile/src/models/user.dart'; import 'package:flutter_profile/src/services/profile_service.dart'; diff --git a/lib/src/widgets/profile/profile_style.dart b/lib/src/widgets/profile/profile_style.dart index a85ab7f..9ff7d41 100644 --- a/lib/src/widgets/profile/profile_style.dart +++ b/lib/src/widgets/profile/profile_style.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_profile/src/widgets/avatar/avatar_style.dart'; diff --git a/lib/src/widgets/profile/profile_wrapper.dart b/lib/src/widgets/profile/profile_wrapper.dart index 6a822a6..bebcebc 100644 --- a/lib/src/widgets/profile/profile_wrapper.dart +++ b/lib/src/widgets/profile/profile_wrapper.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_profile/src/models/user.dart'; import 'package:flutter_profile/src/services/profile_service.dart'; diff --git a/test/profile_test.dart b/test/profile_test.dart index 3cd6f9c..24912be 100644 --- a/test/profile_test.dart +++ b/test/profile_test.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_profile/flutter_profile.dart'; import 'package:flutter_test/flutter_test.dart'; diff --git a/test/test_classes/test_profile_data.dart b/test/test_classes/test_profile_data.dart index 3c7d93b..9be9280 100644 --- a/test/test_classes/test_profile_data.dart +++ b/test/test_classes/test_profile_data.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_profile/flutter_profile.dart'; diff --git a/test/test_classes/test_profile_service.dart b/test/test_classes/test_profile_service.dart index 1f79a75..d6a6ddf 100644 --- a/test/test_classes/test_profile_service.dart +++ b/test/test_classes/test_profile_service.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_profile/flutter_profile.dart';