aboutsummaryrefslogtreecommitdiffstats
path: root/lib/data/data_providers/app_launcher_info.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/data/data_providers/app_launcher_info.dart')
-rw-r--r--lib/data/data_providers/app_launcher_info.dart21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/data/data_providers/app_launcher_info.dart b/lib/data/data_providers/app_launcher_info.dart
new file mode 100644
index 0000000..4d79cfe
--- /dev/null
+++ b/lib/data/data_providers/app_launcher_info.dart
@@ -0,0 +1,21 @@
+import 'package:flutter_ics_homescreen/export.dart';
+
+class AppLauncherInfo {
+ final String id;
+ final String name;
+ final String icon;
+ final bool internal;
+
+ AppLauncherInfo({required this.id, required this.name, required this.icon, required this.internal});
+}
+
+class AppLauncherList extends Notifier<List<AppLauncherInfo>> {
+ @override
+ List<AppLauncherInfo> build() {
+ return [];
+ }
+
+ void update(List<AppLauncherInfo> newAppList) {
+ state = newAppList;
+ }
+}