From ab13db289fdd999f6b9e5ac30bf0cbe86e3dcb09 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Tue, 1 Nov 2022 08:23:35 +0100 Subject: [PATCH] Add BSD-3-Clause license --- LICENSE | 10 +++++++++- example/lib/example_pages/age_page.dart | 4 ++++ example/lib/example_pages/carousel_page.dart | 4 ++++ example/lib/example_pages/check_page.dart | 4 ++++ example/lib/example_pages/date_page.dart | 4 ++++ example/lib/example_pages/name_page.dart | 4 ++++ example/lib/example_pages/thanks_page.dart | 4 ++++ example/lib/form_example.dart | 4 ++++ example/lib/main.dart | 4 ++++ example/lib/route.dart | 4 ++++ example/lib/template_page.dart | 4 ++++ lib/flutter_form.dart | 4 ++++ lib/src/form.dart | 4 ++++ lib/src/utils/form_page_controller.dart | 4 ++++ lib/src/utils/formstate.dart | 4 ++++ lib/src/widgets/input/abstractions.dart | 4 ++++ .../input_carousel/carousel_controller.dart | 4 ++++ .../input_types/input_carousel/carousel_form.dart | 4 ++++ .../input_types/input_carousel/carousel_options.dart | 4 ++++ .../input_types/input_carousel/carousel_slider.dart | 4 ++++ .../input_types/input_carousel/carousel_state.dart | 4 ++++ .../input_types/input_carousel/carousel_utils.dart | 4 ++++ .../input_types/input_carousel/input_carousel.dart | 4 ++++ .../input_types/input_date_picker/date_picker.dart | 4 ++++ .../input_date_picker/input_date_picker.dart | 4 ++++ lib/src/widgets/input/input_types/input_email.dart | 4 ++++ .../input_number_picker/decimal_numberpicker.dart | 4 ++++ .../input_number_picker/infinite_listview.dart | 4 ++++ .../input_number_picker/input_number_picker.dart | 4 ++++ .../input_types/input_number_picker/numberpicker.dart | 4 ++++ .../input_types/input_password/input_password.dart | 4 ++++ .../input/input_types/input_password/password.dart | 4 ++++ .../widgets/input/input_types/input_plain_text.dart | 4 ++++ .../input/input_types/input_slider/input_slider.dart | 4 ++++ .../widgets/input/input_types/input_slider/slider.dart | 4 ++++ .../input/input_types/input_switch/input_switch.dart | 4 ++++ .../input_types/input_switch/input_switch_field.dart | 4 ++++ lib/src/widgets/input/input_types/input_types.dart | 4 ++++ lib/utils/form.dart | 4 ++++ lib/utils/providers.dart | 4 ++++ lib/utils/translation_service.dart | 4 ++++ test/flutter_form_test.dart | 4 ++++ 42 files changed, 173 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/example_pages/age_page.dart b/example/lib/example_pages/age_page.dart index 66f0f92..07f3bdf 100644 --- a/example/lib/example_pages/age_page.dart +++ b/example/lib/example_pages/age_page.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/flutter_form.dart'; import 'package:form_example/template_page.dart'; diff --git a/example/lib/example_pages/carousel_page.dart b/example/lib/example_pages/carousel_page.dart index 01d567b..d072bec 100644 --- a/example/lib/example_pages/carousel_page.dart +++ b/example/lib/example_pages/carousel_page.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/flutter_form.dart'; import 'package:form_example/template_page.dart'; diff --git a/example/lib/example_pages/check_page.dart b/example/lib/example_pages/check_page.dart index bfad4f7..a2430c1 100644 --- a/example/lib/example_pages/check_page.dart +++ b/example/lib/example_pages/check_page.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/flutter_form.dart'; diff --git a/example/lib/example_pages/date_page.dart b/example/lib/example_pages/date_page.dart index eec4132..2e360b7 100644 --- a/example/lib/example_pages/date_page.dart +++ b/example/lib/example_pages/date_page.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/flutter_form.dart'; import 'package:form_example/template_page.dart'; diff --git a/example/lib/example_pages/name_page.dart b/example/lib/example_pages/name_page.dart index d3e2772..cf5c184 100644 --- a/example/lib/example_pages/name_page.dart +++ b/example/lib/example_pages/name_page.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/flutter_form.dart'; import 'package:form_example/template_page.dart'; diff --git a/example/lib/example_pages/thanks_page.dart b/example/lib/example_pages/thanks_page.dart index 813e558..3e103c3 100644 --- a/example/lib/example_pages/thanks_page.dart +++ b/example/lib/example_pages/thanks_page.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; class ThanksPage extends StatelessWidget { diff --git a/example/lib/form_example.dart b/example/lib/form_example.dart index 9dbe0ea..708c84e 100644 --- a/example/lib/form_example.dart +++ b/example/lib/form_example.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/flutter_form.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; diff --git a/example/lib/main.dart b/example/lib/main.dart index 4b9341b..baade4a 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_riverpod/flutter_riverpod.dart'; import 'package:form_example/route.dart'; diff --git a/example/lib/route.dart b/example/lib/route.dart index 5ef8b8c..a0b53b2 100644 --- a/example/lib/route.dart +++ b/example/lib/route.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/widgets.dart'; import 'package:form_example/example_pages/thanks_page.dart'; import 'package:form_example/form_example.dart'; diff --git a/example/lib/template_page.dart b/example/lib/template_page.dart index c84c070..a4092ae 100644 --- a/example/lib/template_page.dart +++ b/example/lib/template_page.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; class TemplatePage extends StatelessWidget { diff --git a/lib/flutter_form.dart b/lib/flutter_form.dart index 5c1a1cb..3b2a645 100644 --- a/lib/flutter_form.dart +++ b/lib/flutter_form.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + export 'src/form.dart'; export 'src/widgets/input/abstractions.dart'; export 'src/widgets/input/input_types/input_types.dart'; diff --git a/lib/src/form.dart b/lib/src/form.dart index ac9d976..afdfabb 100644 --- a/lib/src/form.dart +++ b/lib/src/form.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/utils/translation_service.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; diff --git a/lib/src/utils/form_page_controller.dart b/lib/src/utils/form_page_controller.dart index 2a1cd7b..c4342d7 100644 --- a/lib/src/utils/form_page_controller.dart +++ b/lib/src/utils/form_page_controller.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter_form/flutter_form.dart'; class FlutterFormPageController { diff --git a/lib/src/utils/formstate.dart b/lib/src/utils/formstate.dart index afd0056..aa2b8e8 100644 --- a/lib/src/utils/formstate.dart +++ b/lib/src/utils/formstate.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'form_page_controller.dart'; diff --git a/lib/src/widgets/input/abstractions.dart b/lib/src/widgets/input/abstractions.dart index b6c7ddd..ec00517 100644 --- a/lib/src/widgets/input/abstractions.dart +++ b/lib/src/widgets/input/abstractions.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import '/src/utils/formstate.dart' as fs; diff --git a/lib/src/widgets/input/input_types/input_carousel/carousel_controller.dart b/lib/src/widgets/input/input_types/input_carousel/carousel_controller.dart index 253b98a..e0e4c9f 100644 --- a/lib/src/widgets/input/input_types/input_carousel/carousel_controller.dart +++ b/lib/src/widgets/input/input_types/input_carousel/carousel_controller.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/input/input_types/input_carousel/carousel_form.dart b/lib/src/widgets/input/input_types/input_carousel/carousel_form.dart index ec063b4..6bd482d 100644 --- a/lib/src/widgets/input/input_types/input_carousel/carousel_form.dart +++ b/lib/src/widgets/input/input_types/input_carousel/carousel_form.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'carousel_slider.dart'; diff --git a/lib/src/widgets/input/input_types/input_carousel/carousel_options.dart b/lib/src/widgets/input/input_types/input_carousel/carousel_options.dart index a88b1fa..f279d5f 100644 --- a/lib/src/widgets/input/input_types/input_carousel/carousel_options.dart +++ b/lib/src/widgets/input/input_types/input_carousel/carousel_options.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; enum CarouselPageChangedReason { timed, manual, controller } diff --git a/lib/src/widgets/input/input_types/input_carousel/carousel_slider.dart b/lib/src/widgets/input/input_types/input_carousel/carousel_slider.dart index c105e98..209a899 100644 --- a/lib/src/widgets/input/input_types/input_carousel/carousel_slider.dart +++ b/lib/src/widgets/input/input_types/input_carousel/carousel_slider.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + library carousel_slider; import 'dart:async'; diff --git a/lib/src/widgets/input/input_types/input_carousel/carousel_state.dart b/lib/src/widgets/input/input_types/input_carousel/carousel_state.dart index df2e01c..6410931 100644 --- a/lib/src/widgets/input/input_types/input_carousel/carousel_state.dart +++ b/lib/src/widgets/input/input_types/input_carousel/carousel_state.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'carousel_slider.dart'; diff --git a/lib/src/widgets/input/input_types/input_carousel/carousel_utils.dart b/lib/src/widgets/input/input_types/input_carousel/carousel_utils.dart index fb34f3d..7d96007 100644 --- a/lib/src/widgets/input/input_types/input_carousel/carousel_utils.dart +++ b/lib/src/widgets/input/input_types/input_carousel/carousel_utils.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + /// Converts an index of a set size to the corresponding index of a collection of another size /// as if they were circular. /// diff --git a/lib/src/widgets/input/input_types/input_carousel/input_carousel.dart b/lib/src/widgets/input/input_types/input_carousel/input_carousel.dart index 2fc82a0..5ac8959 100644 --- a/lib/src/widgets/input/input_types/input_carousel/input_carousel.dart +++ b/lib/src/widgets/input/input_types/input_carousel/input_carousel.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/utils/translation_service.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; diff --git a/lib/src/widgets/input/input_types/input_date_picker/date_picker.dart b/lib/src/widgets/input/input_types/input_date_picker/date_picker.dart index 4b9b3a4..baec7e1 100644 --- a/lib/src/widgets/input/input_types/input_date_picker/date_picker.dart +++ b/lib/src/widgets/input/input_types/input_date_picker/date_picker.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/input/input_types/input_date_picker/input_date_picker.dart b/lib/src/widgets/input/input_types/input_date_picker/input_date_picker.dart index 4771df8..e257d4f 100644 --- a/lib/src/widgets/input/input_types/input_date_picker/input_date_picker.dart +++ b/lib/src/widgets/input/input_types/input_date_picker/input_date_picker.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/src/widgets/input/input_types/input_date_picker/date_picker.dart'; import 'package:flutter_form/utils/translation_service.dart'; diff --git a/lib/src/widgets/input/input_types/input_email.dart b/lib/src/widgets/input/input_types/input_email.dart index 2460e9e..608cd5e 100644 --- a/lib/src/widgets/input/input_types/input_email.dart +++ b/lib/src/widgets/input/input_types/input_email.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/utils/translation_service.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; diff --git a/lib/src/widgets/input/input_types/input_number_picker/decimal_numberpicker.dart b/lib/src/widgets/input/input_types/input_number_picker/decimal_numberpicker.dart index fb2819e..0421122 100644 --- a/lib/src/widgets/input/input_types/input_number_picker/decimal_numberpicker.dart +++ b/lib/src/widgets/input/input_types/input_number_picker/decimal_numberpicker.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'dart:math' as math; import 'package:flutter/material.dart'; diff --git a/lib/src/widgets/input/input_types/input_number_picker/infinite_listview.dart b/lib/src/widgets/input/input_types/input_number_picker/infinite_listview.dart index 814892d..e505666 100644 --- a/lib/src/widgets/input/input_types/input_number_picker/infinite_listview.dart +++ b/lib/src/widgets/input/input_types/input_number_picker/infinite_listview.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + library infinite_listview; import 'dart:math' as math; diff --git a/lib/src/widgets/input/input_types/input_number_picker/input_number_picker.dart b/lib/src/widgets/input/input_types/input_number_picker/input_number_picker.dart index 6b5f0ae..d0db754 100644 --- a/lib/src/widgets/input/input_types/input_number_picker/input_number_picker.dart +++ b/lib/src/widgets/input/input_types/input_number_picker/input_number_picker.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/utils/translation_service.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; diff --git a/lib/src/widgets/input/input_types/input_number_picker/numberpicker.dart b/lib/src/widgets/input/input_types/input_number_picker/numberpicker.dart index a6f38c1..1f207bb 100644 --- a/lib/src/widgets/input/input_types/input_number_picker/numberpicker.dart +++ b/lib/src/widgets/input/input_types/input_number_picker/numberpicker.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'infinite_listview.dart'; diff --git a/lib/src/widgets/input/input_types/input_password/input_password.dart b/lib/src/widgets/input/input_types/input_password/input_password.dart index c1300ba..c810153 100644 --- a/lib/src/widgets/input/input_types/input_password/input_password.dart +++ b/lib/src/widgets/input/input_types/input_password/input_password.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/src/widgets/input/input_types/input_password/password.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; diff --git a/lib/src/widgets/input/input_types/input_password/password.dart b/lib/src/widgets/input/input_types/input_password/password.dart index c9e1edc..a4668e4 100644 --- a/lib/src/widgets/input/input_types/input_password/password.dart +++ b/lib/src/widgets/input/input_types/input_password/password.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/utils/translation_service.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; diff --git a/lib/src/widgets/input/input_types/input_plain_text.dart b/lib/src/widgets/input/input_types/input_plain_text.dart index 60abef4..d9c7b15 100644 --- a/lib/src/widgets/input/input_types/input_plain_text.dart +++ b/lib/src/widgets/input/input_types/input_plain_text.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/utils/translation_service.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; diff --git a/lib/src/widgets/input/input_types/input_slider/input_slider.dart b/lib/src/widgets/input/input_types/input_slider/input_slider.dart index 7a233f2..dd69697 100644 --- a/lib/src/widgets/input/input_types/input_slider/input_slider.dart +++ b/lib/src/widgets/input/input_types/input_slider/input_slider.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/src/widgets/input/input_types/input_slider/slider.dart'; import 'package:flutter_form/utils/translation_service.dart'; diff --git a/lib/src/widgets/input/input_types/input_slider/slider.dart b/lib/src/widgets/input/input_types/input_slider/slider.dart index 84e1c12..b1eb6c1 100644 --- a/lib/src/widgets/input/input_types/input_slider/slider.dart +++ b/lib/src/widgets/input/input_types/input_slider/slider.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; /// Creates a slider with the given input parameters diff --git a/lib/src/widgets/input/input_types/input_switch/input_switch.dart b/lib/src/widgets/input/input_types/input_switch/input_switch.dart index ce1df56..8a4e4cb 100644 --- a/lib/src/widgets/input/input_types/input_switch/input_switch.dart +++ b/lib/src/widgets/input/input_types/input_switch/input_switch.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/flutter_form.dart'; import 'package:flutter_form/src/widgets/input/input_types/input_switch/input_switch_field.dart'; diff --git a/lib/src/widgets/input/input_types/input_switch/input_switch_field.dart b/lib/src/widgets/input/input_types/input_switch/input_switch_field.dart index 0b4d1ad..b01a755 100644 --- a/lib/src/widgets/input/input_types/input_switch/input_switch_field.dart +++ b/lib/src/widgets/input/input_types/input_switch/input_switch_field.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; class SwitchFormField extends FormField { diff --git a/lib/src/widgets/input/input_types/input_types.dart b/lib/src/widgets/input/input_types/input_types.dart index 7b4053e..7f4ff81 100644 --- a/lib/src/widgets/input/input_types/input_types.dart +++ b/lib/src/widgets/input/input_types/input_types.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + export 'input_carousel/input_carousel.dart'; export 'input_email.dart'; export 'input_number_picker/input_number_picker.dart'; diff --git a/lib/utils/form.dart b/lib/utils/form.dart index ecf2dc5..215f078 100644 --- a/lib/utils/form.dart +++ b/lib/utils/form.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; /// The options used to set parameters to a [FlutterForm]. diff --git a/lib/utils/providers.dart b/lib/utils/providers.dart index ed46630..a4f8b51 100644 --- a/lib/utils/providers.dart +++ b/lib/utils/providers.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter_form/utils/translation_service.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; diff --git a/lib/utils/translation_service.dart b/lib/utils/translation_service.dart index 2432901..5980522 100644 --- a/lib/utils/translation_service.dart +++ b/lib/utils/translation_service.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/utils/providers.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; diff --git a/test/flutter_form_test.dart b/test/flutter_form_test.dart index a665afd..e6faa12 100644 --- a/test/flutter_form_test.dart +++ b/test/flutter_form_test.dart @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 Iconica +// +// SPDX-License-Identifier: BSD-3-Clause + import 'package:flutter/material.dart'; import 'package:flutter_form/flutter_form.dart'; import 'package:flutter_test/flutter_test.dart';