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/example_registration_repository.dart b/example/lib/example_registration_repository.dart index b4fb2aa..caee325 100644 --- a/example/lib/example_registration_repository.dart +++ b/example/lib/example_registration_repository.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'dart:collection'; import 'package:flutter/material.dart'; diff --git a/example/lib/main.dart b/example/lib/main.dart index bf58a0f..c1b1d5a 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_registration/flutter_registration.dart'; import 'example_registration_repository.dart'; diff --git a/lib/flutter_registration.dart b/lib/flutter_registration.dart index d7cb925..eac231f 100644 --- a/lib/flutter_registration.dart +++ b/lib/flutter_registration.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + library flutter_registration; export 'src/config/registration_options.dart'; diff --git a/lib/src/auth_screen.dart b/lib/src/auth_screen.dart index 8b52332..9d4b3f8 100644 --- a/lib/src/auth_screen.dart +++ b/lib/src/auth_screen.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'dart:collection'; import 'package:flutter/material.dart'; import 'package:flutter_registration/src/model/auth_field.dart'; diff --git a/lib/src/config/registration_options.dart b/lib/src/config/registration_options.dart index 1b1a874..35403fb 100644 --- a/lib/src/config/registration_options.dart +++ b/lib/src/config/registration_options.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_registration/flutter_registration.dart'; diff --git a/lib/src/config/registration_translations.dart b/lib/src/config/registration_translations.dart index ab0ac9a..7613c9c 100644 --- a/lib/src/config/registration_translations.dart +++ b/lib/src/config/registration_translations.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + class RegistrationTranslations { const RegistrationTranslations({ this.title = 'Registreren', diff --git a/lib/src/model/auth_action.dart b/lib/src/model/auth_action.dart index 698d493..547d973 100644 --- a/lib/src/model/auth_action.dart +++ b/lib/src/model/auth_action.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; class AuthAction { diff --git a/lib/src/model/auth_exception.dart b/lib/src/model/auth_exception.dart index 3c2bd9e..670fae8 100644 --- a/lib/src/model/auth_exception.dart +++ b/lib/src/model/auth_exception.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + class AuthException implements Exception { AuthException(this.message); final String message; diff --git a/lib/src/model/auth_field.dart b/lib/src/model/auth_field.dart index d0a123c..df3e015 100644 --- a/lib/src/model/auth_field.dart +++ b/lib/src/model/auth_field.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; abstract class AuthField { diff --git a/lib/src/model/auth_step.dart b/lib/src/model/auth_step.dart index d50a25d..abcbdd2 100644 --- a/lib/src/model/auth_step.dart +++ b/lib/src/model/auth_step.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter_registration/src/model/auth_field.dart'; class AuthStep { diff --git a/lib/src/model/auth_text_field.dart b/lib/src/model/auth_text_field.dart index 3b7b01e..1dec690 100644 --- a/lib/src/model/auth_text_field.dart +++ b/lib/src/model/auth_text_field.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_registration/flutter_registration.dart'; diff --git a/lib/src/registration_screen.dart b/lib/src/registration_screen.dart index 3669352..b57d24c 100644 --- a/lib/src/registration_screen.dart +++ b/lib/src/registration_screen.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'dart:collection'; import 'package:flutter/material.dart'; diff --git a/lib/src/service/registration_repository.dart b/lib/src/service/registration_repository.dart index 27e2bab..c8d58a3 100644 --- a/lib/src/service/registration_repository.dart +++ b/lib/src/service/registration_repository.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'dart:collection'; mixin RegistrationRepository { diff --git a/test/flutter_email_password_login_test.dart b/test/flutter_email_password_login_test.dart index 6f86463..0a17bd7 100644 --- a/test/flutter_email_password_login_test.dart +++ b/test/flutter_email_password_login_test.dart @@ -1,5 +1,6 @@ // SPDX-FileCopyrightText: 2022 Iconica // +// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: GPL-3.0-or-later import 'package:flutter_test/flutter_test.dart';