summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoruvok2025-07-30 15:26:46 +0200
committeruvok2025-07-30 15:26:46 +0200
commit6bbdc602efe1590b62fed5a44b720419d630f573 (patch)
tree139674c5ee703a040768715625b7cec02d5b42b4 /lib
parentf44b3ba4c5aaecebfbd56b385da70ff5b47d9f42 (diff)
Add license
Diffstat (limited to 'lib')
-rw-r--r--lib/badge_app.dart15
-rw-r--r--lib/device_details.dart15
-rw-r--r--lib/device_scan_select.dart15
-rw-r--r--lib/first_where_ext.dart15
-rw-r--r--lib/main.dart15
-rw-r--r--lib/scan_page.dart15
6 files changed, 90 insertions, 0 deletions
diff --git a/lib/badge_app.dart b/lib/badge_app.dart
index 36499c2..b399360 100644
--- a/lib/badge_app.dart
+++ b/lib/badge_app.dart
@@ -1,3 +1,18 @@
+// Copyright (C) 2025, uvok cheetah
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
import 'package:badge/control/mock_scanner_controller.dart';
import 'package:badge/scan_page.dart';
import 'package:flutter/material.dart';
diff --git a/lib/device_details.dart b/lib/device_details.dart
index 961ad33..1e74db5 100644
--- a/lib/device_details.dart
+++ b/lib/device_details.dart
@@ -1,3 +1,18 @@
+// Copyright (C) 2025, uvok cheetah
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
import 'package:badge/model/device.dart';
import 'package:flutter/material.dart';
import 'package:logger/logger.dart';
diff --git a/lib/device_scan_select.dart b/lib/device_scan_select.dart
index 9ed0583..bb5d9be 100644
--- a/lib/device_scan_select.dart
+++ b/lib/device_scan_select.dart
@@ -1,3 +1,18 @@
+// Copyright (C) 2025, uvok cheetah
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
import 'package:badge/model/device.dart';
import 'package:flutter/material.dart';
diff --git a/lib/first_where_ext.dart b/lib/first_where_ext.dart
index a633b91..cb421e3 100644
--- a/lib/first_where_ext.dart
+++ b/lib/first_where_ext.dart
@@ -1,3 +1,18 @@
+// Copyright (C) 2025, uvok cheetah
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
extension FirstWhereExt<T> on Iterable<T> {
/// The first element satisfying [test], or `null` if there are none.
// firstWhereOrElse doesn't want to return null.
diff --git a/lib/main.dart b/lib/main.dart
index 45f69db..350ccdb 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -1,3 +1,18 @@
+// Copyright (C) 2025, uvok cheetah
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
import 'package:badge/badge_app.dart';
import 'package:flutter/material.dart';
diff --git a/lib/scan_page.dart b/lib/scan_page.dart
index 70dea6e..6111a94 100644
--- a/lib/scan_page.dart
+++ b/lib/scan_page.dart
@@ -1,3 +1,18 @@
+// Copyright (C) 2025, uvok cheetah
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
import 'package:badge/control/scanner_controller.dart';
import 'package:badge/device_details.dart';
import 'package:badge/device_scan_select.dart';