From 38a88bf86884db75a382cd446abce68698ced6a0 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 7 Dec 2024 13:29:34 +0100 Subject: [PATCH] Add licence identifiers in files --- lib/food_entry/enter_food_widget.dart | 1 + lib/food_entry/food_entry_bloc.dart | 1 + lib/food_entry/food_entry_widget.dart | 1 + lib/food_scan/food_fact_lookup.dart | 1 + lib/main.dart | 1 + lib/perdate/entry_list.dart | 1 + lib/perdate/perdate_pageview.dart | 1 + lib/perdate/perdate_pageview_controller.dart | 1 + lib/perdate/perdate_widget.dart | 1 + lib/storage/storage.dart | 1 + lib/utils/app_drawer.dart | 1 + lib/utils/calendar_floating_button.dart | 1 + lib/utils/date_time_helper.dart | 1 + lib/utils/rectangular_notch_shape.dart | 1 + lib/utils/row_with_spacers_widget.dart | 1 + lib/utils/scan_food_floating_button.dart | 1 + lib/utils/settings.dart | 1 + lib/utils/settings_bloc.dart | 1 + lib/utils/sum_widget.dart | 1 + lib/utils/theme_bloc.dart | 1 + lib/utils/theme_switcher_button.dart | 1 + 21 files changed, 21 insertions(+) diff --git a/lib/food_entry/enter_food_widget.dart b/lib/food_entry/enter_food_widget.dart index fd76acc..599da02 100644 --- a/lib/food_entry/enter_food_widget.dart +++ b/lib/food_entry/enter_food_widget.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:calorimeter/storage/storage.dart'; import 'package:flutter/material.dart'; import 'package:calorimeter/food_entry/food_entry_bloc.dart'; diff --git a/lib/food_entry/food_entry_bloc.dart b/lib/food_entry/food_entry_bloc.dart index 8e84075..eaaadfc 100644 --- a/lib/food_entry/food_entry_bloc.dart +++ b/lib/food_entry/food_entry_bloc.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:barcode_scan2/barcode_scan2.dart'; import 'package:calorimeter/food_scan/food_fact_lookup.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; diff --git a/lib/food_entry/food_entry_widget.dart b/lib/food_entry/food_entry_widget.dart index 9027346..647b446 100644 --- a/lib/food_entry/food_entry_widget.dart +++ b/lib/food_entry/food_entry_widget.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:flutter/material.dart'; import 'package:calorimeter/food_entry/food_entry_bloc.dart'; import 'package:calorimeter/utils/row_with_spacers_widget.dart'; diff --git a/lib/food_scan/food_fact_lookup.dart b/lib/food_scan/food_fact_lookup.dart index 4ca736a..3c1572a 100644 --- a/lib/food_scan/food_fact_lookup.dart +++ b/lib/food_scan/food_fact_lookup.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'dart:convert'; import 'dart:developer'; import 'dart:io'; diff --git a/lib/main.dart b/lib/main.dart index 7dcad6a..5b7e1e3 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:calorimeter/food_entry/food_entry_bloc.dart'; import 'package:calorimeter/perdate/perdate_pageview_controller.dart'; import 'package:calorimeter/storage/storage.dart'; diff --git a/lib/perdate/entry_list.dart b/lib/perdate/entry_list.dart index c592178..f29a0b3 100644 --- a/lib/perdate/entry_list.dart +++ b/lib/perdate/entry_list.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:calorimeter/food_entry/enter_food_widget.dart'; import 'package:calorimeter/food_entry/food_entry_bloc.dart'; import 'package:calorimeter/food_entry/food_entry_widget.dart'; diff --git a/lib/perdate/perdate_pageview.dart b/lib/perdate/perdate_pageview.dart index ed07217..5463178 100644 --- a/lib/perdate/perdate_pageview.dart +++ b/lib/perdate/perdate_pageview.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'dart:developer'; import 'package:calorimeter/perdate/perdate_pageview_controller.dart'; diff --git a/lib/perdate/perdate_pageview_controller.dart b/lib/perdate/perdate_pageview_controller.dart index c40bbb7..171851a 100644 --- a/lib/perdate/perdate_pageview_controller.dart +++ b/lib/perdate/perdate_pageview_controller.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'dart:developer'; import 'package:barcode_scan2/barcode_scan2.dart'; diff --git a/lib/perdate/perdate_widget.dart b/lib/perdate/perdate_widget.dart index 4ccee06..736ce7f 100644 --- a/lib/perdate/perdate_widget.dart +++ b/lib/perdate/perdate_widget.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:calorimeter/food_entry/food_entry_bloc.dart'; import 'package:calorimeter/perdate/entry_list.dart'; import 'package:flutter/material.dart'; diff --git a/lib/storage/storage.dart b/lib/storage/storage.dart index b536135..29756c9 100644 --- a/lib/storage/storage.dart +++ b/lib/storage/storage.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'dart:io'; import 'package:calorimeter/food_entry/food_entry_bloc.dart'; diff --git a/lib/utils/app_drawer.dart b/lib/utils/app_drawer.dart index 786d786..aba916d 100644 --- a/lib/utils/app_drawer.dart +++ b/lib/utils/app_drawer.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:calorimeter/utils/settings.dart'; import 'package:flutter/material.dart'; diff --git a/lib/utils/calendar_floating_button.dart b/lib/utils/calendar_floating_button.dart index 15de917..69a5759 100644 --- a/lib/utils/calendar_floating_button.dart +++ b/lib/utils/calendar_floating_button.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:calorimeter/utils/date_time_helper.dart'; import 'package:flutter/material.dart'; diff --git a/lib/utils/date_time_helper.dart b/lib/utils/date_time_helper.dart index d87bec1..b108c08 100644 --- a/lib/utils/date_time_helper.dart +++ b/lib/utils/date_time_helper.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ class DateTimeHelper { static DateTime now() { return DateTime.now().copyWith( diff --git a/lib/utils/rectangular_notch_shape.dart b/lib/utils/rectangular_notch_shape.dart index ef9f0a3..ddfcb87 100644 --- a/lib/utils/rectangular_notch_shape.dart +++ b/lib/utils/rectangular_notch_shape.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:flutter/material.dart'; class RectangularNotchShape extends NotchedShape { diff --git a/lib/utils/row_with_spacers_widget.dart b/lib/utils/row_with_spacers_widget.dart index b9654cb..e300036 100644 --- a/lib/utils/row_with_spacers_widget.dart +++ b/lib/utils/row_with_spacers_widget.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:flutter/material.dart'; class RowWidget extends StatelessWidget { diff --git a/lib/utils/scan_food_floating_button.dart b/lib/utils/scan_food_floating_button.dart index cdb1667..c323af6 100644 --- a/lib/utils/scan_food_floating_button.dart +++ b/lib/utils/scan_food_floating_button.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:flutter/material.dart'; class ScanFoodFAB extends StatelessWidget { diff --git a/lib/utils/settings.dart b/lib/utils/settings.dart index bc2a1c9..e5f3dfb 100644 --- a/lib/utils/settings.dart +++ b/lib/utils/settings.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:calorimeter/utils/app_drawer.dart'; diff --git a/lib/utils/settings_bloc.dart b/lib/utils/settings_bloc.dart index 7749e12..5344a7e 100644 --- a/lib/utils/settings_bloc.dart +++ b/lib/utils/settings_bloc.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:calorimeter/storage/storage.dart'; diff --git a/lib/utils/sum_widget.dart b/lib/utils/sum_widget.dart index ca444e2..75781b3 100644 --- a/lib/utils/sum_widget.dart +++ b/lib/utils/sum_widget.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:calorimeter/food_entry/food_entry_bloc.dart'; diff --git a/lib/utils/theme_bloc.dart b/lib/utils/theme_bloc.dart index 7683b78..ec088ae 100644 --- a/lib/utils/theme_bloc.dart +++ b/lib/utils/theme_bloc.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:calorimeter/storage/storage.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; diff --git a/lib/utils/theme_switcher_button.dart b/lib/utils/theme_switcher_button.dart index 940ab0a..d6d8172 100644 --- a/lib/utils/theme_switcher_button.dart +++ b/lib/utils/theme_switcher_button.dart @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ import 'package:calorimeter/utils/theme_bloc.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart';